diff mod_groups_muc_bookmarks/mod_groups_muc_bookmarks.lua @ 4862:9a8a43d0faed

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).
author Jonas Schäfer <jonas@wielicki.name>
date Sun, 09 Jan 2022 18:20:02 +0100
parents 5fadb991003d
children fdf50c4d23a3
line wrap: on
line diff
--- 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)