plugin XEP-0045: Fix variable used in logs.

This commit is contained in:
Goffi 2026-06-06 11:46:11 +02:00
commit 6aba4c6686

View file

@ -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,