From adc5204b1a58309c7d2b4c1f000ad87def64fa4d Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 19 Jul 2019 23:01:57 +0200 Subject: [PATCH] plugin XEP-0045: fixed a bad attribute in a log message. --- sat/plugins/plugin_xep_0045.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat/plugins/plugin_xep_0045.py b/sat/plugins/plugin_xep_0045.py index ccb589d0..69c8a185 100644 --- a/sat/plugins/plugin_xep_0045.py +++ b/sat/plugins/plugin_xep_0045.py @@ -863,7 +863,7 @@ class SatMUCClient(muc.MUCClient): 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