Mercurial > prosody-hg
comparison plugins/muc/muc.lib.lua @ 5578:b8101bc0630f
Merge 0.9->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 14 May 2013 09:39:32 +0100 |
| parents | 8b09b0d068d4 |
| children | db5d1a350cc7 24b044f6e06d |
comparison
equal
deleted
inserted
replaced
| 5575:345593806e22 | 5578:b8101bc0630f |
|---|---|
| 765 self._jid_nick[jid] = nil; | 765 self._jid_nick[jid] = nil; |
| 766 end | 766 end |
| 767 self._occupants[nick] = nil; | 767 self._occupants[nick] = nil; |
| 768 end | 768 end |
| 769 self:set_persistent(false); | 769 self:set_persistent(false); |
| 770 module:fire_event("muc-room-destroyed", { room = self }); | |
| 770 end | 771 end |
| 771 | 772 |
| 772 function room_mt:handle_to_room(origin, stanza) -- presence changes and groupchat messages, along with disco/etc | 773 function room_mt:handle_to_room(origin, stanza) -- presence changes and groupchat messages, along with disco/etc |
| 773 local type = stanza.attr.type; | 774 local type = stanza.attr.type; |
| 774 local xmlns = stanza.tags[1] and stanza.tags[1].attr.xmlns; | 775 local xmlns = stanza.tags[1] and stanza.tags[1].attr.xmlns; |
