Skip to content

Commit

Permalink
test: fix variable ref
Browse files Browse the repository at this point in the history
  • Loading branch information
JurgenR committed Aug 19, 2024
1 parent a9c01c6 commit 8a0bce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/mock/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ async def send_private_message(

# Send direct message if user is online
if isinstance(receiver, Peer):
to_send.append(peer.send_message(protocol_message))
to_send.append(receiver.send_message(protocol_message))
else:
if peer := self.find_peer_by_name(receiver):
to_send.append(peer.send_message(protocol_message))
Expand Down

0 comments on commit 8a0bce7

Please sign in to comment.