# HG changeset patch # User Jonas Schäfer # Date 1641748802 -3600 # Node ID 9a8a43d0faed572f1af92df1d27c9b3696339f23 # Parent 5fadb991003d494a79c7da5f06593aa1800e732e 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). diff -r 5fadb991003d -r 9a8a43d0faed mod_groups_muc_bookmarks/mod_groups_muc_bookmarks.lua --- 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)