MLE: Fix GetEdited (?)

This commit is contained in:
thororen 2026-09-26 21:42:12 -04:00
parent 1e98d5a440
commit 4b2c093346
No known key found for this signature in database

View file

@ -355,10 +355,7 @@ export default definePlugin({
},
getEdited(m1, m2) {
const editHistory = m2?.editHistory;
if (editHistory == null && m1?.editHistory != null && m1.editHistory.length > 0)
return m1.editHistory.map(mapTimestamp);
return editHistory;
return m2?.editHistory ?? m1?.editHistory?.map(mapTimestamp) ?? [];
},
flux: {