author | marc0s <marcos@tenak.net> |
Tue, 08 Sep 2020 12:35:51 +0200 | |
changeset 4093 | ef752c5115f7 |
parent 4092 | 439ae12bb136 |
child 4094 | e77122025080 |
--- 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()