fix: get groupnotification chat

close #1329
This commit is contained in:
Pedro Lopez
2022-03-28 23:44:04 -04:00
parent 017dd4b783
commit f32f3c71ba

View File

@@ -43,7 +43,7 @@ class GroupNotification extends Base {
*
* @type {string}
*/
this.chatId = typeof (data.to) === 'object' ? data.to._serialized : data.to;
this.chatId = typeof (data.id.remote) === 'object' ? data.id.remote._serialized : data.id.remote;
/**
* ContactId for the user that produced the GroupNotification.