sendFriendRequest static method
void
sendFriendRequest(
- LocalityUser fromUser,
- LocalityUser toUser
Implementation
static void sendFriendRequest(LocalityUser fromUser, LocalityUser toUser) {
FriendListPubSub targetFriendList = getFriendListOfUser(toUser);
targetFriendList.sendFriendRequestToThisUser(fromUser, toUser);
FriendListPubSub sourceFriendList = getFriendListOfUser(fromUser);
sourceFriendList.sendFriendRequestToThisUser(fromUser, toUser);
}