Fix method participant on sendMessage (#3778)
* Fix method participant on sendMessage * Update Utils.js * Update Utils.js
This commit is contained in:
parent
5276e30ac6
commit
c9665438f6
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ exports.LoadUtils = () => {
|
|||
|
||||
if (typeof chat.id?.isGroup === 'function' && chat.id.isGroup()) {
|
||||
from = chat.groupMetadata && chat.groupMetadata.isLidAddressingMode ? lidUser : meUser;
|
||||
participant = window.Store.WidFactory.toUserWidOrThrow(from);
|
||||
participant = window.Store.WidFactory.asUserWidOrThrow(from);
|
||||
}
|
||||
|
||||
const newMsgKey = new window.Store.MsgKey({
|
||||
|
|
|
|||
Loading…
Reference in a new issue