changeset 3015:7b8d40b17451

plugin XEP-0045: fixed a bad attribute in a log message.
author Goffi <goffi@goffi.org>
date Fri, 19 Jul 2019 23:01:57 +0200
parents b6abf8af87db
children 0b1c17c24bba
files sat/plugins/plugin_xep_0045.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0045.py	Fri Jul 19 17:07:56 2019 +0200
+++ b/sat/plugins/plugin_xep_0045.py	Fri Jul 19 23:01:57 2019 +0200
@@ -863,7 +863,7 @@
             log.error(_(
                 u"room {room} is not in expected state: room is in state {current_state} "
                 u"while we were expecting {expected_state}").format(
-                room=room.userhost(),
+                room=room.roomJID.userhost(),
                 current_state=room.state,
                 expected_state=expected_state))
         room.state = new_state