author | Stuart Carnie <stuart.carnie@gmail.com> |
Tue, 28 Oct 2014 15:25:32 -0700 | |
changeset 1540 | 0c26b1638f8c |
parent 1539 | 05fa54404012 |
child 1541 | ef032840bc92 |
--- a/mod_mam_muc/mod_mam_muc.lua Tue Oct 28 22:26:41 2014 +0100 +++ b/mod_mam_muc/mod_mam_muc.lua Tue Oct 28 15:25:32 2014 -0700 @@ -290,7 +290,8 @@ end module:hook("muc-room-destroyed", function(event) - archive:delete(jid_split(event.room.jid)); + local username = jid_split(event.room.jid); + archive:delete(username); end); -- TODO should we perhaps log presence as well?