docs: delete_chat(): Don't lie that messages aren't deleted from server

Messages are actually deleted from the server. I've checked this in Desktop.
This commit is contained in:
iequidoo
2025-12-23 06:21:09 -03:00
committed by iequidoo
parent 184736723f
commit 294e23d82d
3 changed files with 7 additions and 3 deletions

View File

@@ -795,11 +795,11 @@ impl CommandApi {
/// Delete a chat.
///
/// Messages are deleted from the device and the chat database entry is deleted.
/// After that, the event #DC_EVENT_MSGS_CHANGED is posted.
/// After that, a `MsgsChanged` event is emitted.
/// Messages are deleted from the server in background.
///
/// Things that are _not done_ implicitly:
///
/// - Messages are **not deleted from the server**.
/// - The chat or the contact is **not blocked**, so new messages from the user/the group may appear as a contact request
/// and the user may create the chat again.
/// - **Groups are not left** - this would