changeset 4093 | ef752c5115f7 |
parent 3502 | 69219097aa85 |
--- a/mod_muc_notifications/mod_muc_notifications.lua Mon Sep 07 13:48:22 2020 +0100 +++ b/mod_muc_notifications/mod_muc_notifications.lua Tue Sep 08 12:35:51 2020 +0200 @@ -44,7 +44,7 @@ xmlns = "http://quobis.com/xmpp/muc#push", jid = room.jid, } - local reason = "You have messages in group chat "..room:get_name() + local reason = "You have messages in group chat "..(room:get_name() or room.jid) local notification = st.message(attrs) :body(reason):up() :tag("notification", not_attrs):up()