Comments.

This commit is contained in:
John Livingston 2024-05-12 16:24:14 +02:00
parent 2eaeb293dd
commit 31a95f774d
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,10 @@
-- * unsubscribing users that have left the room (the front-end will subscribe again when needed)
-- * unsubscribing users when losing their affiliation
-- FIXME: empty subscribers on Prosody startup? Normally users will subscribe when opening the app.
-- And this module will unsubscribe when leaving the room.
-- But if prosody crash, or is restarted, subscribers may remain...
local pubsub = require "util.pubsub";
local jid_bare = require "util.jid".bare;
local jid_split = require "util.jid".split;