Skip to content

Commit

Permalink
feat: Friendship request response also include profile data
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinszuchet committed Jan 22, 2025
1 parent 51cd8d6 commit ab4d97e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions proto/decentraland/social_service/v2/social_service_v2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ message Pagination {
}

message FriendshipRequestResponse {
User user = 1;
FriendProfile friend = 1;
int64 created_at = 2;
optional string message = 3;
string id = 4;
Expand Down Expand Up @@ -102,13 +102,19 @@ message UpsertFriendshipResponse {
}

message FriendshipUpdate {
message RequestResponse {
User user = 1;
int64 created_at = 2;
optional string message = 3;
string id = 4;
}
message AcceptResponse { User user = 1; }
message RejectResponse { User user = 1; }
message DeleteResponse { User user = 1; }
message CancelResponse { User user = 1; }

oneof update {
FriendshipRequestResponse request = 1;
RequestResponse request = 1;
AcceptResponse accept = 2;
RejectResponse reject = 3;
DeleteResponse delete = 4;
Expand Down

0 comments on commit ab4d97e

Please sign in to comment.