Files
arcanechat-core/src
bjoern 8e25639126 feat: delete messages on IMAP when deleting chat (#6613)
this PR deletes all known messages belonging to a chat when the chat is
deleted.

this may not be an exhaustive list as a client might not know all
message-ids (eg. when using different times for "delete from device").
in this case, other devices may know more IDs. otherwise, the chatmail
server will eventually clean up at some point. for non-chatmail, this is
up to the user then.

the deletion sql commands were inspired by
[`delete_msgs_ex`](https://github.com/chatmail/core/blob/main/src/message.rs#L1743)
(in fact, [a first
try](https://github.com/chatmail/core/compare/r10s/clear-chat-on-delete)
was adapting that part, however, that seems less performant as lots of
sql commands are needed)

successor of #5007
2025-03-06 22:43:21 +01:00
..
2025-03-04 22:23:17 +01:00
2025-03-06 20:30:17 +01:00
2025-02-26 22:03:08 +01:00
2025-03-04 22:23:17 +01:00
2025-03-06 21:41:41 +00:00
2025-03-06 21:41:41 +00:00
2025-03-06 21:41:41 +00:00
2025-01-21 19:42:19 +01:00
2025-02-26 22:03:08 +01:00
2025-03-06 21:41:41 +00:00
2024-11-18 23:57:57 +00:00
2025-01-21 19:42:19 +01:00
2024-11-27 23:57:23 +00:00
2024-12-02 19:22:45 +00:00
2025-02-26 18:02:50 +00:00
2025-03-06 21:41:41 +00:00
2025-01-28 03:26:57 +00:00
2024-12-05 12:23:19 +00:00
2025-02-26 22:03:08 +01:00
2025-02-27 16:56:55 +00:00