sendFriendRequestToThisUser method
void
sendFriendRequestToThisUser(
- LocalityUser fromUser,
- LocalityUser toUser
Send a friend request to this topic.
Implementation
void sendFriendRequestToThisUser(LocalityUser fromUser, LocalityUser toUser) {
send('send_friend_request', {
'sender_id': fromUser.id,
'sender_public_key': fromUser.publicKey,
'recipient_id': toUser.id,
'recipient_public_key': toUser.publicKey
});
}