# HG changeset patch # User Kim Alvefur # Date 1376163111 -7200 # Node ID ccb0c5afe6589a6ac55165033a2f22f30aaf37e4 # Parent 8098683b6d6f2cb3bb4007e12e77ff8374102b12 mod_mam_muc: Fix room lookup, should be indexed by bare jid diff -r 8098683b6d6f -r ccb0c5afe658 mod_mam_muc/mod_mam_muc.lua --- a/mod_mam_muc/mod_mam_muc.lua Sat Aug 10 21:18:25 2013 +0200 +++ b/mod_mam_muc/mod_mam_muc.lua Sat Aug 10 21:31:51 2013 +0200 @@ -60,7 +60,7 @@ -- Handle archive queries module:hook("iq-get/bare/"..xmlns_mam..":query", function(event) local origin, stanza = event.origin, event.stanza; - local room = jid_split(stanza.attr.to); + local room = stanza.attr.to; local query = stanza.tags[1]; local room_obj = rooms[room];