Skip to content

Commit c8e45b6

Browse files
committed
🚑 fix missing isGroup #3253
1 parent ec082b2 commit c8e45b6

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

patches.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/api/model/chat.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ export interface GroupChat extends BaseChat {
111111
* Whether the chat is a group chat
112112
*/
113113
isGroup: true;
114+
/**
115+
* The type of the group
116+
*/
117+
groupType: 'DEFAULT' | 'COMMUNITY' | 'LINKED_ANNOUNCEMENT_GROUP' | 'LINKED_GENERAL_GROUP' | 'LINKED_SUBGROUP'
114118
}
115119

116120
export type Chat = SingleChat | GroupChat;

src/lib/launch.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)