# HG changeset patch # User Kim Alvefur # Date 1376163141 -7200 # Node ID 5a00f9bec6e78a767763c0dcd089a27bf261acf5 # Parent ccb0c5afe6589a6ac55165033a2f22f30aaf37e4 mod_mam_muc: Send item-not-found if the requested room does not exist diff -r ccb0c5afe658 -r 5a00f9bec6e7 mod_mam_muc/mod_mam_muc.lua --- a/mod_mam_muc/mod_mam_muc.lua Sat Aug 10 21:31:51 2013 +0200 +++ b/mod_mam_muc/mod_mam_muc.lua Sat Aug 10 21:32:21 2013 +0200 @@ -65,7 +65,7 @@ local room_obj = rooms[room]; if not room_obj then - return -- FIXME not found + return origin.send(st.error_reply(stanza, "cancel", "item-not-found")) end local from = jid_bare(stanza.attr.from);