feat: catch groups create notification

This commit is contained in:
Adhiraj Singh
2021-11-10 19:46:25 +05:30
parent 3e54741042
commit 469f3451d2
3 changed files with 23 additions and 6 deletions

View File

@@ -152,7 +152,7 @@ export const makeGroupsSocket = (config: SocketConfig) => {
}
const extractGroupMetadata = (result: BinaryNode) => {
export const extractGroupMetadata = (result: BinaryNode) => {
const group = getBinaryNodeChild(result, 'group')
const descChild = getBinaryNodeChild(group, 'description')
let desc: string | undefined