Software /
code /
prosody
Diff
plugins/muc/subject.lib.lua @ 6277:f2c9c36979b3
plugins/muc: Fix use of incorrect event on occupant join
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Tue, 17 Jun 2014 15:18:43 -0400 |
parent | 6228:4968d18e2c1e |
child | 6429:675aea867574 |
line wrap: on
line diff
--- a/plugins/muc/subject.lib.lua Wed Jun 11 17:54:23 2014 -0400 +++ b/plugins/muc/subject.lib.lua Tue Jun 17 15:18:43 2014 -0400 @@ -66,7 +66,7 @@ end -- Send subject to joining user -module:hook("muc-occupant-joined", function(event) +module:hook("muc-occupant-session-new", function(event) send_subject(event.room, event.stanza.attr.from); end, 20);