diff --git a/0000-add-roster-get-event.patch b/0000-add-roster-get-event.patch new file mode 100644 index 0000000..76564b6 --- /dev/null +++ b/0000-add-roster-get-event.patch @@ -0,0 +1,11 @@ +diff -r 8a29e7206917 plugins/mod_roster.lua +--- a/plugins/mod_roster.lua Sun Oct 25 15:23:36 2020 +0100 ++++ b/plugins/mod_roster.lua Mon Nov 02 17:09:21 2020 +0100 +@@ -57,6 +57,7 @@ + end + roster.tags[1].attr.ver = server_ver; + end ++ if module:fire_event("roster-get", { session = session, stanza = stanza }) then return; end + session.send(roster); + session.interested = true; -- resource is interested in roster updates + else -- stanza.attr.type == "set"