Mercurial > prosody-modules
changeset 4071:8e28d0918abc
mod_muc_markers: Add room JID to log message
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 05 Aug 2020 14:57:10 +0100 |
parents | 268fa9d45840 |
children | 2dcbc01c9931 |
files | mod_muc_markers/mod_muc_markers.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_muc_markers/mod_muc_markers.lua Sun Jul 26 16:15:37 2020 +0200 +++ b/mod_muc_markers/mod_muc_markers.lua Wed Aug 05 14:57:10 2020 +0100 @@ -63,7 +63,7 @@ end -- Store the id that the user has received to - module:log("warn", "New marker for %s: %s", event.occupant.bare_jid, marker.attr.id); + module:log("warn", "New marker for %s in %s: %s", event.occupant.bare_jid, event.room.jid, marker.attr.id); muc_marker_map_store:set(event.occupant.bare_jid, event.room.jid, marker.attr.id); end);