mod_groups_muc_bookmarks: fix typo/leftover from refactor
The update_bookmark function no longer takes a "current" argument;
passing it causes havoc in service:publish (because it gets the room
JID instaed of the item as item).
--- a/mod_groups_muc_bookmarks/mod_groups_muc_bookmarks.lua Sat Jan 08 02:57:36 2022 +0100
+++ b/mod_groups_muc_bookmarks/mod_groups_muc_bookmarks.lua Sun Jan 09 18:20:02 2022 +0100
@@ -60,7 +60,7 @@
:tag("conference", { xmlns = XMLNS_BM2; name = name; autojoin = autojoin and "true" or "false"; })
end
- update_bookmark(jid, pep_service, current, room, found)
+ update_bookmark(jid, pep_service, room, found)
end
local function remove_bookmark(jid, room, autojoin, name)