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