diff --git a/src/chat/patch.ts b/src/chat/patch.ts index f4d89e8a35..77149ca6ce 100644 --- a/src/chat/patch.ts +++ b/src/chat/patch.ts @@ -108,6 +108,7 @@ function applyPatchModel() { shouldAppearInList: functions.getShouldAppearInList, isUser: functions.getIsUser, isPSA: functions.getIsPSA, + isGroup: functions.getIsGroup, previewMessage: functions.getPreviewMessage, showChangeNumberNotification: functions.getShowChangeNumberNotification, hasUnread: functions.getHasUnread, diff --git a/src/whatsapp/models/ChatModel.ts b/src/whatsapp/models/ChatModel.ts index 8688c98398..e67ff80f77 100644 --- a/src/whatsapp/models/ChatModel.ts +++ b/src/whatsapp/models/ChatModel.ts @@ -97,6 +97,10 @@ interface Derived { * @deprecated */ isGroup: boolean; + /** + * Deprecated in favor of getIsGroup + * @deprecated + */ isParentGroup: boolean; isBroadcast: boolean; isNewsletter: boolean;