feat: Add notification group: change inviteCode

This commit is contained in:
Leonardo Bein
2022-11-14 10:52:53 -03:00
committed by Adhiraj Singh
parent 7923233829
commit 704aa1e434
3 changed files with 9 additions and 1 deletions

View File

@@ -254,7 +254,10 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
msg.messageStubType = WAMessageStubType.GROUP_CHANGE_RESTRICT
msg.messageStubParameters = [ (child.tag === 'locked') ? 'on' : 'off' ]
break
case 'invite':
msg.messageStubType = WAMessageStubType.GROUP_CHANGE_INVITE_LINK
msg.messageStubParameters = [ child.attrs.code ]
break
}
}