Ready payload on websocket, add friend by username + avatars.
This commit is contained in:
@@ -96,6 +96,7 @@ async fn accept(stream: TcpStream) {
|
||||
subscriptions::generate_subscriptions(&user),
|
||||
) {
|
||||
send(ClientboundNotification::Authenticated);
|
||||
send(ClientboundNotification::Ready { user });
|
||||
} else {
|
||||
send(ClientboundNotification::Error(
|
||||
WebSocketError::InternalError,
|
||||
|
||||
Reference in New Issue
Block a user