Mercurial > prosody-hg
comparison plugins/muc/muc.lib.lua @ 6394:fe034fa564ee
plugins/muc: Add affiliation_notify config option to send out status code 101
| author | daurnimator <quae@daurnimator.com> |
|---|---|
| date | Fri, 05 Sep 2014 12:16:53 -0400 |
| parents | fff6ca13cb0f |
| children | d782cbb46c2a |
comparison
equal
deleted
inserted
replaced
| 6393:fff6ca13cb0f | 6394:fe034fa564ee |
|---|---|
| 1109 self:save_occupant(occupant); | 1109 self:save_occupant(occupant); |
| 1110 self:publicise_occupant_status(occupant, x, nil, actor, reason); | 1110 self:publicise_occupant_status(occupant, x, nil, actor, reason); |
| 1111 return true; | 1111 return true; |
| 1112 end | 1112 end |
| 1113 | 1113 |
| 1114 local affiliation_notify = module:require "muc/affiliation_notify"; | |
| 1115 | |
| 1114 local name = module:require "muc/name"; | 1116 local name = module:require "muc/name"; |
| 1115 room_mt.get_name = name.get; | 1117 room_mt.get_name = name.get; |
| 1116 room_mt.set_name = name.set; | 1118 room_mt.set_name = name.set; |
| 1117 | 1119 |
| 1118 local description = module:require "muc/description"; | 1120 local description = module:require "muc/description"; |
