Skip to content

Commit

Permalink
🚑 fix missing isGroup #3253
Browse files Browse the repository at this point in the history
  • Loading branch information
smashah committed Nov 21, 2024
1 parent ec082b2 commit c8e45b6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion patches.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/api/model/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ export interface GroupChat extends BaseChat {
* Whether the chat is a group chat
*/
isGroup: true;
/**
* The type of the group
*/
groupType: 'DEFAULT' | 'COMMUNITY' | 'LINKED_ANNOUNCEMENT_GROUP' | 'LINKED_GENERAL_GROUP' | 'LINKED_SUBGROUP'
}

export type Chat = SingleChat | GroupChat;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/launch.js

Large diffs are not rendered by default.

0 comments on commit c8e45b6

Please sign in to comment.