mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-23 20:34:51 +01:00
Fix friend request pending list
This commit is contained in:
@@ -39,15 +39,7 @@ public class PacketGetPlayerFriendListRsp extends BasePacket {
|
||||
for (Friendship friendship : player.getFriendsList().getFriends().values()) {
|
||||
proto.addFriendList(friendship.toProto());
|
||||
}
|
||||
|
||||
for (Friendship friendship : player.getFriendsList().getPendingFriends().values()) {
|
||||
if (friendship.getAskerId() == player.getUid()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
proto.addAskFriendList(friendship.toProto());
|
||||
}
|
||||
|
||||
|
||||
this.setData(proto);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user