Comparison

plugins/muc/mod_muc.lua @ 12854:73db76cc6472

MUC: Add note about non-existant room method
author Kim Alvefur <zash@zash.se>
date Fri, 20 Jan 2023 19:47:00 +0100
parent 12731:a314f5bff9f0
child 12977:74b9e05af71e
comparison
equal deleted inserted replaced
12853:e1a71e83d430 12854:73db76cc6472
87 room_mt.handle_register_iq = register.handle_register_iq; 87 room_mt.handle_register_iq = register.handle_register_iq;
88 88
89 local presence_broadcast = module:require "muc/presence_broadcast"; 89 local presence_broadcast = module:require "muc/presence_broadcast";
90 room_mt.get_presence_broadcast = presence_broadcast.get; 90 room_mt.get_presence_broadcast = presence_broadcast.get;
91 room_mt.set_presence_broadcast = presence_broadcast.set; 91 room_mt.set_presence_broadcast = presence_broadcast.set;
92 room_mt.get_valid_broadcast_roles = presence_broadcast.get_valid_broadcast_roles; 92 room_mt.get_valid_broadcast_roles = presence_broadcast.get_valid_broadcast_roles; -- FIXME doesn't exist in the library
93 93
94 local occupant_id = module:require "muc/occupant_id"; 94 local occupant_id = module:require "muc/occupant_id";
95 room_mt.get_salt = occupant_id.get_room_salt; 95 room_mt.get_salt = occupant_id.get_room_salt;
96 room_mt.get_occupant_id = occupant_id.get_occupant_id; 96 room_mt.get_occupant_id = occupant_id.get_occupant_id;
97 97