Skip to content

Commit

Permalink
Send friendshipchange to initial sender. Closes #31
Browse files Browse the repository at this point in the history
  • Loading branch information
myOmikron committed Apr 18, 2023
1 parent 4b2946b commit d83a6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/handler/friends.rs
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ pub async fn accept_friend_request(

// Notify other party about accepted friendship
if let Err(err) = ws_manager_chan
.send(WsManagerMessage::SendMessage(uuid, msg))
.send(WsManagerMessage::SendMessage(*f.from.key(), msg))
.await
{
warn!("Could not send to ws manager chan: {err}");
Expand Down

0 comments on commit d83a6f8

Please sign in to comment.