Software /
code /
verse
Diff
plugins/groupchat.lua @ 207:78f59d7b1ef7
plugins.groupchat: Bump topic change handling up a bit
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 20 Mar 2011 19:00:26 +0100 |
parent | 197:7e98cf2c1d8d |
child | 215:f86e0b0a0be3 |
line wrap: on
line diff
--- a/plugins/groupchat.lua Fri Mar 18 22:15:21 2011 +0000 +++ b/plugins/groupchat.lua Sun Mar 20 19:00:26 2011 +0100 @@ -98,7 +98,7 @@ if subject then room.subject = #subject > 0 and subject or nil; end - end); + end, 2000); local join_st = verse.presence():tag("x",{xmlns = xmlns_muc}):reset(); self:event("pre-groupchat/joining", join_st); room:send(join_st)