Skip to content

Commit bb71f63

Browse files
committed
list of blocked users should be returned while connecting user
1 parent 8319e36 commit bb71f63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,7 @@ export type UpdateUsersAPIResponse<StreamChatGenerics extends ExtendableGenerics
842842

843843
export type UserResponse<StreamChatGenerics extends ExtendableGenerics = DefaultGenerics> = User<StreamChatGenerics> & {
844844
banned?: boolean;
845+
blocked_user_ids?: string[];
845846
created_at?: string;
846847
deactivated_at?: string;
847848
deleted_at?: string;
@@ -851,8 +852,8 @@ export type UserResponse<StreamChatGenerics extends ExtendableGenerics = Default
851852
privacy_settings?: PrivacySettings;
852853
push_notifications?: PushNotificationSettings;
853854
revoke_tokens_issued_before?: string;
854-
shadow_banned?: boolean;
855855
updated_at?: string;
856+
shadow_banned?: boolean;
856857
};
857858

858859
export type PrivacySettings = {

0 commit comments

Comments
 (0)