fix editing notes

This commit is contained in:
dakkar 2024-10-12 19:45:47 +01:00
parent 14e21d00b9
commit 80fdb595a6

View file

@ -514,6 +514,7 @@ export class NoteEditService implements OnApplicationShutdown {
renoteUserId: data.renote ? data.renote.userId : null, renoteUserId: data.renote ? data.renote.userId : null,
renoteUserHost: data.renote ? data.renote.userHost : null, renoteUserHost: data.renote ? data.renote.userHost : null,
userHost: user.host, userHost: user.host,
reactionAndUserPairCache: oldnote.reactionAndUserPairCache,
}); });
if (data.uri != null) note.uri = data.uri; if (data.uri != null) note.uri = data.uri;