Mercurial > prosody-hg
comparison plugins/muc/mod_muc.lua @ 13908:356c8ec22e9a
MUC: Add basic "GC3" participant (affiliation) list fetch
RSM version currently held back until a planned restructuring of how we
store affiliations in MUC. This is because RSM needs a stable ordered list,
which we don't currently have.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 26 Jun 2025 15:17:57 +0100 |
| parents | 0e346f4d88ce |
| children | f5d415d54064 |
comparison
equal
deleted
inserted
replaced
| 13907:827a4cfd3fad | 13908:356c8ec22e9a |
|---|---|
| 99 | 99 |
| 100 local occupant_id = module:require "muc/occupant_id"; | 100 local occupant_id = module:require "muc/occupant_id"; |
| 101 room_mt.get_salt = occupant_id.get_room_salt; | 101 room_mt.get_salt = occupant_id.get_room_salt; |
| 102 room_mt.get_occupant_id = occupant_id.get_occupant_id; | 102 room_mt.get_occupant_id = occupant_id.get_occupant_id; |
| 103 room_mt.get_occupant_id_from_jid = occupant_id.get_occupant_id_from_jid; | 103 room_mt.get_occupant_id_from_jid = occupant_id.get_occupant_id_from_jid; |
| 104 | |
| 105 if module:get_option_boolean("muc_enable_experimental_gc3", false) then | |
| 106 module:require "muc/gc3"; | |
| 107 end | |
| 104 | 108 |
| 105 local jid_split = require "prosody.util.jid".split; | 109 local jid_split = require "prosody.util.jid".split; |
| 106 local jid_prep = require "prosody.util.jid".prep; | 110 local jid_prep = require "prosody.util.jid".prep; |
| 107 local jid_bare = require "prosody.util.jid".bare; | 111 local jid_bare = require "prosody.util.jid".bare; |
| 108 local jid_resource = require "prosody.util.jid".resource; | 112 local jid_resource = require "prosody.util.jid".resource; |
