Comparison

plugins/muc/muc.lib.lua @ 7686:8d6f367bed8c

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Fri, 07 Oct 2016 16:52:18 +0200
parent 7669:b332db1baf0b
parent 7684:65ba769d9f05
child 7705:0a29a5e64f1d
comparison
equal deleted inserted replaced
7669:b332db1baf0b 7686:8d6f367bed8c
810 if reason then x:tag("reason"):text(reason):up(); end 810 if reason then x:tag("reason"):text(reason):up(); end
811 if password then x:tag("password"):text(password):up(); end 811 if password then x:tag("password"):text(password):up(); end
812 x:up(); 812 x:up();
813 self:clear(x); 813 self:clear(x);
814 module:fire_event("muc-room-destroyed", { room = self }); 814 module:fire_event("muc-room-destroyed", { room = self });
815 return true;
815 end 816 end
816 817
817 function room_mt:handle_disco_info_get_query(origin, stanza) 818 function room_mt:handle_disco_info_get_query(origin, stanza)
818 origin.send(self:get_disco_info(stanza)); 819 origin.send(self:get_disco_info(stanza));
819 return true; 820 return true;