mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
Remove TODO
Not possible to use create_multiuser_record(), because it's nicer to do things in a transaction here
This commit is contained in:
@@ -3846,7 +3846,6 @@ pub(crate) async fn create_out_broadcast_ex(
|
|||||||
)?;
|
)?;
|
||||||
ensure!(cnt == 0, "{cnt} chats exist with grpid {grpid}");
|
ensure!(cnt == 0, "{cnt} chats exist with grpid {grpid}");
|
||||||
|
|
||||||
// TODO check if this should use create_multiuser_record()
|
|
||||||
t.execute(
|
t.execute(
|
||||||
"INSERT INTO chats \
|
"INSERT INTO chats \
|
||||||
(type, name, grpid, created_timestamp) \
|
(type, name, grpid, created_timestamp) \
|
||||||
|
|||||||
Reference in New Issue
Block a user