Skip to content

Commit 9cf4acf

Browse files
committed
feat: Get Online Friends RPC
1 parent e07ccb6 commit 9cf4acf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

proto/decentraland/social_service/v2/social_service_v2.proto

+7
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ message GetFriendshipStatusResponse {
155155
}
156156
}
157157

158+
message GetOnlineFriendsResponse {
159+
repeated FriendProfile friends = 1;
160+
}
161+
158162
service SocialService {
159163
// Get the list of friends for the authenticated user
160164
rpc GetFriends(GetFriendsPayload) returns (PaginatedFriendsProfilesResponse) {}
@@ -182,4 +186,7 @@ service SocialService {
182186
// Subscribe to connectivity updates of friends: ONLINE, OFFLINE, AWAY
183187
rpc SubscribeToFriendConnectivityUpdates(google.protobuf.Empty)
184188
returns (stream FriendConnectivityUpdate) {}
189+
190+
// Get the list of online friends
191+
rpc GetOnlineFriends(google.protobuf.Empty) returns (GetOnlineFriendsResponse) {}
185192
}

0 commit comments

Comments
 (0)