fix: Correct method invocation (#3720)
This commit is contained in:
parent
bd677a8a66
commit
6d3078fd77
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.toUserWid(from);
|
||||
participant = window.Store.WidFactory.toUserWidOrThrow(from);
|
||||
}
|
||||
|
||||
const newMsgKey = new window.Store.MsgKey({
|
||||
|
|
|
|||
Loading…
Reference in a new issue