MessageLogger: fix potential error
This commit is contained in:
parent
239da032ec
commit
2c5079b49f
|
@ -147,7 +147,7 @@ export default definePlugin({
|
|||
[MessageStore],
|
||||
() => MessageStore.getMessage(channelId, messageId) as MLMessage,
|
||||
null,
|
||||
(oldMsg, newMsg) => oldMsg.editHistory === newMsg.editHistory
|
||||
(oldMsg, newMsg) => oldMsg?.editHistory === newMsg?.editHistory
|
||||
);
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue