Mercurial > prosody-hg
comparison plugins/muc/mod_muc.lua @ 8944:200ec7d38a0e
MUC: Remove affiliation notify support, nothing uses it
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 27 Jun 2018 16:00:54 +0100 |
| parents | 89f6b2a2bec3 |
| children | 92f0876b9230 |
comparison
equal
deleted
inserted
replaced
| 8943:3a416b866c94 | 8944:200ec7d38a0e |
|---|---|
| 21 end | 21 end |
| 22 | 22 |
| 23 local muclib = module:require "muc"; | 23 local muclib = module:require "muc"; |
| 24 room_mt = muclib.room_mt; -- Yes, global. | 24 room_mt = muclib.room_mt; -- Yes, global. |
| 25 new_room = muclib.new_room; | 25 new_room = muclib.new_room; |
| 26 | |
| 27 local affiliation_notify = module:require "muc/affiliation_notify"; -- luacheck: ignore 211 | |
| 28 | 26 |
| 29 local name = module:require "muc/name"; | 27 local name = module:require "muc/name"; |
| 30 room_mt.get_name = name.get; | 28 room_mt.get_name = name.get; |
| 31 room_mt.set_name = name.set; | 29 room_mt.set_name = name.set; |
| 32 | 30 |
