feat: add error code for handled friend requests and improve error handling in friend operations

This commit is contained in:
withchao
2026-01-22 15:04:37 +08:00
parent ec33d6c3b7
commit 5d451fa3f8
3 changed files with 14 additions and 14 deletions
+1
View File
@@ -70,6 +70,7 @@ const (
BlockedByPeer = 1302 // Blocked by the peer
NotPeersFriend = 1303 // Not the peer's friend
RelationshipAlreadyError = 1304 // Already in a friend relationship
FriendRequestHandled = 1305 // Friend request has already been handled
// Message error codes.
MessageHasReadDisable = 1401