Mercurial > prosody-modules
changeset 4089:ef752c5115f7
mod_muc_notifications: adapt to MUC get_name() API changes
author | marc0s <marcos@tenak.net> |
---|---|
date | Tue, 08 Sep 2020 12:35:51 +0200 |
parents | 439ae12bb136 |
children | e77122025080 |
files | mod_muc_notifications/mod_muc_notifications.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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()