mirror of
https://github.com/PretendoNetwork/friends.git
synced 2026-08-03 08:30:01 -05:00
fix(3ds): Use RelationshipTypeIncomplete for new relationships
This was previously not needed since NewFriendRelationship by default would give the friendship status a value of 0, but now it uses the Invalid value by default (2), which breaks the previous code.
This commit is contained in:
parent
bcd8996b08
commit
4ea3bbcf21
|
|
@ -51,6 +51,7 @@ func SaveFriendship(senderPID uint32, recipientPID uint32) (friends_3ds_types.Fr
|
|||
}
|
||||
|
||||
friendRelationship.PID = types.NewPID(uint64(recipientPID))
|
||||
friendRelationship.RelationshipType = friends_3ds_constants.RelationshipTypeIncomplete
|
||||
return friendRelationship, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user