idk anymore

This commit is contained in:
Nuckyz 2024-08-05 13:25:25 -03:00
parent f398a1c871
commit 473109b1d9
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -227,7 +227,7 @@ export default definePlugin({
(oldMsg, newMsg) => oldMsg?.editHistory === newMsg?.editHistory (oldMsg, newMsg) => oldMsg?.editHistory === newMsg?.editHistory
); );
return !settings.store.inlineEdits ? null : ( return settings.store.inlineEdits && (
<> <>
{message.editHistory?.map(edit => ( {message.editHistory?.map(edit => (
<div className="messagelogger-edited"> <div className="messagelogger-edited">