From 4ea3bbcf21bc5909439bb107da40bc1889a59e46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B3pez=20Guimaraes?= Date: Mon, 20 Jul 2026 13:12:32 +0100 Subject: [PATCH] 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. --- database/3ds/save_friendship.go | 1 + 1 file changed, 1 insertion(+) diff --git a/database/3ds/save_friendship.go b/database/3ds/save_friendship.go index 387624c..d46a09b 100644 --- a/database/3ds/save_friendship.go +++ b/database/3ds/save_friendship.go @@ -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 }