Skip to content

Commit b1e75c9

Browse files
committed
fix: add community fields in fetch groups
1 parent b5e51ca commit b1e75c9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3107,6 +3107,9 @@ export class BaileysStartupService extends ChannelStartupService {
31073107
restrict: group.restrict,
31083108
announce: group.announce,
31093109
participants: group.participants,
3110+
isCommunity: group.isCommunity,
3111+
isCommunityAnnounce: group.isCommunityAnnounce,
3112+
linkedParent: group.linkedParent,
31103113
};
31113114
} catch (error) {
31123115
if (reply === 'inner') {
@@ -3136,6 +3139,9 @@ export class BaileysStartupService extends ChannelStartupService {
31363139
descId: group.descId,
31373140
restrict: group.restrict,
31383141
announce: group.announce,
3142+
isCommunity: group.isCommunity,
3143+
isCommunityAnnounce: group.isCommunityAnnounce,
3144+
linkedParent: group.linkedParent,
31393145
};
31403146

31413147
if (getParticipants.getParticipants == 'true') {

0 commit comments

Comments
 (0)