# HG changeset patch # User Matthew Wild # Date 1597846440 -3600 # Node ID 4b84beb48ba089516df2ef20bf48be16d488c3cf # Parent f6542e51b741009b9453a03a7a307685b0530167 mod_muc_rai: Ignore presence to host that doesn't contain the element diff -r f6542e51b741 -r 4b84beb48ba0 mod_muc_rai/mod_muc_rai.lua --- a/mod_muc_rai/mod_muc_rai.lua Tue Aug 18 18:56:47 2020 +0200 +++ b/mod_muc_rai/mod_muc_rai.lua Wed Aug 19 15:14:00 2020 +0100 @@ -195,6 +195,10 @@ return true; end + if not stanza:get_child("rai", xmlns_rai) then + return; -- Ignore, no tag + end + local rooms_with_activity, err = subscribe_all_rooms(user_jid); if not rooms_with_activity then