aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-10-05 18:13:51 +0200
committerKim Alvefur <zash@zash.se>2021-10-05 18:13:51 +0200
commit2798f91821c0e98ce8ed7f33b4c776289ad1d7f8 (patch)
tree738e263c3fe3810cf53375577796582476c98999 /plugins/muc/mod_muc.lua
parent1c904b2ed3d83b56ec7650e981c156a9df63de4e (diff)
downloadprosody-2798f91821c0e98ce8ed7f33b4c776289ad1d7f8.tar.gz
prosody-2798f91821c0e98ce8ed7f33b4c776289ad1d7f8.zip
MUC: Add method for getting the occupant id salt to allow reuse
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 3b0d62ab..5873b1a2 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -92,6 +92,7 @@ room_mt.set_presence_broadcast = presence_broadcast.set;
room_mt.get_valid_broadcast_roles = presence_broadcast.get_valid_broadcast_roles;
local occupant_id = module:require "muc/occupant_id";
+room_mt.get_salt = occupant_id.get_room_salt;
room_mt.get_occupant_id = occupant_id.get_occupant_id;
local jid_split = require "util.jid".split;