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

@@ -252,6 +252,10 @@ const processMessage = async(
chat.name = name
emitGroupUpdate({ subject: name })
break
case WAMessageStubType.GROUP_CHANGE_INVITE_LINK:
const code = message.messageStubParameters?.[0]
emitGroupUpdate({ inviteCode: code })
break
}
}