plugin XEP-0045: Fix variable used in logs.
This commit is contained in:
parent
ed462a661b
commit
6aba4c6686
1 changed files with 2 additions and 2 deletions
|
|
@ -874,14 +874,14 @@ class XEP_0045:
|
|||
if room_jid in muc_client.joined_rooms:
|
||||
room = muc_client.joined_rooms[room_jid]
|
||||
log.info(
|
||||
"{profile} is already in room {room_jid}",
|
||||
f"{client.profile} is already in room {room_jid}",
|
||||
profile=client.profile,
|
||||
room_jid=room_jid.userhost(),
|
||||
)
|
||||
raise AlreadyJoined(room)
|
||||
|
||||
log.info(
|
||||
"[{profile}] joining room {room} as {nick}",
|
||||
f"[{client.profile}] joining room {room_jid} as {nick}",
|
||||
profile=client.profile,
|
||||
room=room_jid.userhost(),
|
||||
nick=nick,
|
||||
|
|
|
|||
Loading…
Reference in a new issue