Comparison

plugins/muc/mod_muc.lua @ 7411:f385cd6127b2

MUC: Add event for when room is done being created
author Kim Alvefur <zash@zash.se>
date Thu, 28 Apr 2016 22:57:53 +0200
parent 7410:45f543c82893
child 7414:1b62c89014c4
comparison
equal deleted inserted replaced
7410:45f543c82893 7411:f385cd6127b2
208 end 208 end
209 end 209 end
210 end 210 end
211 end); 211 end);
212 212
213 module:hook("muc-room-pre-create", function(event) 213 module:hook("muc-room-created", function(event)
214 track_room(event.room); 214 track_room(event.room);
215 end, -1000); 215 end, -1000);
216 216
217 module:hook("muc-room-destroyed",function(event) 217 module:hook("muc-room-destroyed",function(event)
218 local room = event.room; 218 local room = event.room;