Readonly fixes (#9407)

Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
This commit is contained in:
Anton Alexeyev
2025-06-30 16:23:34 +07:00
committed by GitHub
parent 8d12b2c133
commit 5eccbe6464
34 changed files with 127 additions and 70 deletions
@@ -221,7 +221,6 @@ export async function isShouldNotifyTx (
notificationControl: NotificationProviderControl,
docUpdateMessage?: DocUpdateMessage
): Promise<NotifyResult> {
if (receiver.role === 'GUEST') return new Map<Ref<NotificationProvider>, NotificationType[]>()
const types = getMatchedTypes(control, tx, isOwn, isSpace, docUpdateMessage?.attributeUpdates?.attrKey)
const modifiedByPersonId = tx.modifiedBy
const result = new Map<Ref<NotificationProvider>, NotificationType[]>()