mirror of
https://github.com/chatmail/core.git
synced 2026-04-22 16:06:30 +03:00
refactor: Make SyncData::AlterChat an inline struct
This commit is contained in:
@@ -1446,10 +1446,10 @@ WHERE type=? AND id IN (
|
||||
false => sync::ChatAction::Unblock,
|
||||
};
|
||||
context
|
||||
.add_sync_item(SyncData::AlterChat(sync::AlterChatData {
|
||||
.add_sync_item(SyncData::AlterChat {
|
||||
id: sync::ChatId::ContactAddr(contact.addr.clone()),
|
||||
action,
|
||||
}))
|
||||
})
|
||||
.await?;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user