fix: group invite v4 (#2321)
* Update Injected.js * Update Client.js * fix changes * make it simple * fix if undefined --------- Co-authored-by: Shir Serlui <70711723+shirser121@users.noreply.github.com>
This commit is contained in:
parent
dce964d934
commit
d959645bc3
1 changed files with 5 additions and 4 deletions
|
|
@ -168,8 +168,8 @@ class Message extends Base {
|
|||
inviteCodeExp: data.inviteCodeExp,
|
||||
groupId: data.inviteGrp,
|
||||
groupName: data.inviteGrpName,
|
||||
fromId: data.from._serialized,
|
||||
toId: data.to._serialized
|
||||
fromId: data.from?._serialized ? data.from._serialized : data.from,
|
||||
toId: data.to?._serialized ? data.to._serialized : data.to
|
||||
} : undefined;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue