2023-07-01 02:43:56 +02:00
|
|
|
# Delete a message
|
2016-11-30 21:44:07 +01:00
|
|
|
|
2023-07-01 02:43:56 +02:00
|
|
|
Zulip lets you delete the content of your messages or delete messages completely
|
|
|
|
if these actions are allowed in your organization. Only server administrators
|
|
|
|
can restore deleted messages.
|
2021-09-10 00:44:29 +02:00
|
|
|
|
2023-04-25 23:10:56 +02:00
|
|
|
Organization administrators can
|
|
|
|
[configure](/help/restrict-message-editing-and-deletion) who can edit and delete
|
|
|
|
messages, and set time limits for these actions. Administrators can delete other
|
2023-07-01 02:43:56 +02:00
|
|
|
users' messages completely, but cannot edit a message to delete its content.
|
2016-11-30 21:44:07 +01:00
|
|
|
|
2023-04-25 23:10:56 +02:00
|
|
|
## Delete message content
|
2016-11-30 21:44:07 +01:00
|
|
|
|
2023-04-25 23:10:56 +02:00
|
|
|
Editing a message to delete its content will cause the message to be displayed
|
|
|
|
as **(deleted)**. The original sender and timestamp of the message will still
|
|
|
|
be displayed, and the original content of the message is still accessible via
|
|
|
|
Zulip's [edit history](/help/view-a-messages-edit-history) feature. This can be
|
|
|
|
the best option for avoiding confusion if other users have already responded to
|
|
|
|
your message.
|
2017-07-14 17:00:14 +02:00
|
|
|
|
2023-04-10 23:43:12 +02:00
|
|
|
{start_tabs}
|
|
|
|
|
|
|
|
{tab|desktop-web}
|
|
|
|
|
|
|
|
{!message-actions.md!}
|
|
|
|
|
2023-04-25 23:10:56 +02:00
|
|
|
1. Click the **pencil** (<i class="fa fa-pencil"></i>) icon. If you do not see
|
|
|
|
the **pencil** (<i class="fa fa-pencil"></i>) icon, you do not have
|
|
|
|
permission to delete the content of this message.
|
2023-04-10 23:43:12 +02:00
|
|
|
|
|
|
|
1. Delete the content of the message.
|
|
|
|
|
|
|
|
1. Click **Save**.
|
|
|
|
|
2023-04-10 23:45:32 +02:00
|
|
|
{tab|mobile}
|
|
|
|
|
|
|
|
{!message-long-press-menu.md!}
|
|
|
|
|
2023-04-25 23:10:56 +02:00
|
|
|
1. Tap **Delete message** to delete the content of the message. If you do not
|
|
|
|
see the **Delete message** option, you do not have permission to delete the
|
|
|
|
content of this message.
|
2023-04-10 23:45:32 +02:00
|
|
|
|
2023-04-10 23:43:12 +02:00
|
|
|
{end_tabs}
|
|
|
|
|
2023-04-25 23:10:56 +02:00
|
|
|
## Delete a message completely
|
|
|
|
|
|
|
|
In some cases, such as when a message accidentally shares secret information, or
|
|
|
|
contains spam or abuse, it makes sense to delete a message completely. Deleted
|
|
|
|
messages will immediately disappear from the UI in all official Zulip clients.
|
2017-07-14 17:00:14 +02:00
|
|
|
|
2023-04-25 23:10:56 +02:00
|
|
|
Any uploaded files referenced only by deleted messages will be immediately
|
|
|
|
inaccessible. Note that an uploaded file shared in multiple messages will be
|
|
|
|
deleted only when *all* of those messages are deleted.
|
2017-07-14 17:00:14 +02:00
|
|
|
|
2023-04-25 23:10:56 +02:00
|
|
|
It's important to understand that anyone who received the message
|
|
|
|
before you deleted it could have made a copy of its content. Even if
|
|
|
|
no one is online when you send the message, users may have received
|
|
|
|
the message via email or mobile notifications. So if you
|
|
|
|
accidentally shared secret information that you can change, like a
|
|
|
|
password, you may want to change that password regardless of whether
|
|
|
|
you also delete the message.
|
2018-03-30 19:55:15 +02:00
|
|
|
|
2019-02-13 21:59:11 +01:00
|
|
|
{start_tabs}
|
2017-07-14 17:00:14 +02:00
|
|
|
|
2023-04-25 23:10:56 +02:00
|
|
|
{tab|desktop-web}
|
|
|
|
|
2018-09-16 17:23:45 +02:00
|
|
|
{!message-actions-menu.md!}
|
2017-07-14 17:00:14 +02:00
|
|
|
|
2023-04-25 23:10:56 +02:00
|
|
|
1. Select **Delete message**. If you do not see the **Delete message** option,
|
|
|
|
you do not have permission to delete this message completely.
|
2019-02-13 21:59:11 +01:00
|
|
|
|
2023-04-25 23:10:56 +02:00
|
|
|
2. Approve by clicking **Confirm**.
|
2021-05-05 16:38:36 +02:00
|
|
|
|
2019-02-13 21:59:11 +01:00
|
|
|
{end_tabs}
|
2018-03-30 19:55:15 +02:00
|
|
|
|
2023-10-17 02:48:13 +02:00
|
|
|
!!! tip ""
|
|
|
|
|
|
|
|
You can delete messages sent by [bots that you
|
|
|
|
own](/help/view-your-bots) just like messages you sent yourself.
|
|
|
|
|
2023-04-25 23:10:56 +02:00
|
|
|
## Restoring deleted messages
|
|
|
|
|
|
|
|
For protection against accidental or immediately regretted
|
|
|
|
deletions, messages deleted directly or via a [message retention
|
|
|
|
policy](/help/message-retention-policy) are archived for 30 days in a
|
|
|
|
format that can be restored by a server administrator. After that
|
|
|
|
time, they are permanently and irrecoverably deleted from the Zulip
|
|
|
|
server. Server administrators can adjust the archival time using
|
|
|
|
the `ARCHIVED_DATA_VACUUMING_DELAY_DAYS` setting.
|
2020-05-04 08:38:54 +02:00
|
|
|
|
2023-07-19 03:30:55 +02:00
|
|
|
## Message notifications
|
|
|
|
|
|
|
|
If you delete a message soon after sending it, any [pending email
|
|
|
|
notifications](/help/email-notifications#delay-before-sending-emails)
|
|
|
|
for that message will be canceled, and
|
|
|
|
[visual desktop notifications](/help/desktop-notifications) will be removed,
|
|
|
|
including [mentions and alerts](/help/dm-mention-alert-notifications).
|
|
|
|
|
2020-05-04 08:38:54 +02:00
|
|
|
## Related articles
|
|
|
|
|
|
|
|
* [Delete a topic](/help/delete-a-topic)
|
2021-03-31 16:15:24 +02:00
|
|
|
* [Archive a stream](/help/archive-a-stream)
|
2020-05-04 08:38:54 +02:00
|
|
|
* [Message retention policy](/help/message-retention-policy)
|
2023-07-01 02:43:56 +02:00
|
|
|
* [Edit a message](/help/edit-a-message)
|
2023-02-09 05:17:34 +01:00
|
|
|
* [Restrict message editing and deletion](/help/restrict-message-editing-and-deletion)
|