2017-02-04 03:47:15 +01:00
|
|
|
# Edit or delete a message
|
2016-11-30 21:44:07 +01:00
|
|
|
|
2017-01-05 19:59:33 +01:00
|
|
|
!!! warn ""
|
2019-02-13 21:59:11 +01:00
|
|
|
**Note:** Editing message topic is discussed in a
|
2018-03-30 19:55:15 +02:00
|
|
|
[separate guide](/help/change-the-topic-of-a-message).
|
2016-11-30 21:44:07 +01:00
|
|
|
|
2018-03-30 19:55:15 +02:00
|
|
|
By default, Zulip allows you to edit the content of your messages within 10
|
2019-02-13 21:59:11 +01:00
|
|
|
minutes of when you send them. Organization administrators can
|
|
|
|
[change the time limit](/help/configure-message-editing-and-deletion),
|
|
|
|
remove the time limit, or remove the ability to edit messages entirely.
|
|
|
|
|
|
|
|
Administrators can delete other users' messages, but can never edit the
|
|
|
|
content.
|
|
|
|
|
|
|
|
## Edit a message
|
|
|
|
|
|
|
|
{start_tabs}
|
2016-11-30 21:44:07 +01:00
|
|
|
|
2018-09-16 17:31:07 +02:00
|
|
|
{!message-actions.md!}
|
|
|
|
|
2018-10-09 21:39:41 +02:00
|
|
|
1. Click the pencil (<i class="fa fa-pencil"></i>) icon.
|
2016-11-30 21:44:07 +01:00
|
|
|
|
2019-02-13 21:59:11 +01:00
|
|
|
1. Edit the message, and click **Save**.
|
|
|
|
|
|
|
|
{end_tabs}
|
2016-11-30 21:44:07 +01:00
|
|
|
|
2017-01-05 19:59:33 +01:00
|
|
|
!!! warn ""
|
|
|
|
**Note:** After you have edited a message, the message is publicly marked as
|
2017-03-11 20:29:23 +01:00
|
|
|
`(EDITED)`. You can [view](/help/view-a-messages-edit-history) a message's
|
2017-07-16 19:11:12 +02:00
|
|
|
edit history, assuming that feature has not been
|
|
|
|
[disabled by an organization administrator](/help/disable-message-edit-history).
|
2016-11-30 21:44:07 +01:00
|
|
|
|
2019-02-13 21:59:11 +01:00
|
|
|
If you don't see the pencil (<i class="fa fa-pencil"></i>) icon, the message content
|
2020-05-21 08:20:49 +02:00
|
|
|
can no longer be edited. You should see a file (<i class="fa fa-file-code-o"></i>)
|
2019-02-13 21:59:11 +01:00
|
|
|
icon instead. Clicking the file icon will allow you to view the
|
|
|
|
[Markdown source](/help/view-the-markdown-source-of-a-message) of the message, or
|
|
|
|
[edit the topic](/help/change-the-topic-of-a-message).
|
2016-11-30 21:44:07 +01:00
|
|
|
|
2019-02-13 21:59:11 +01:00
|
|
|
## Delete a message
|
2016-11-30 21:44:07 +01:00
|
|
|
|
2020-10-30 01:08:36 +01: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
|
|
|
|
least confusing option for other users.
|
2017-07-14 17:00:14 +02:00
|
|
|
|
|
|
|
### Delete a message completely
|
|
|
|
|
2018-03-30 19:55:15 +02:00
|
|
|
For cases where someone accidentally shared secret information publicly
|
|
|
|
(e.g. you posted an employee's salary), it can make sense to delete a
|
2019-02-13 21:59:11 +01:00
|
|
|
message completely.
|
2017-07-14 17:00:14 +02:00
|
|
|
|
2019-02-13 21:59:11 +01:00
|
|
|
By default, only administrators can delete messages, though this can be
|
|
|
|
[configured](/help/configure-message-editing-and-deletion) by an organization
|
|
|
|
administrator.
|
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
|
|
|
|
2018-09-16 17:23:45 +02:00
|
|
|
{!message-actions-menu.md!}
|
2017-07-14 17:00:14 +02:00
|
|
|
|
2019-02-13 21:59:11 +01:00
|
|
|
1. Select **Delete message**.
|
|
|
|
|
|
|
|
{end_tabs}
|
2018-03-30 19:55:15 +02:00
|
|
|
|
|
|
|
If you don't see the **Delete message** option, it means you don't have
|
|
|
|
permissions to delete that message.
|
|
|
|
|
2020-05-04 08:38:54 +02:00
|
|
|
## How deletion works
|
|
|
|
|
|
|
|
* Deleted messages will immediately disappear from the UI in all
|
|
|
|
official Zulip clients.
|
|
|
|
* Any uploaded files referenced only by deleted messages will also be
|
|
|
|
immediately inaccessible (An uploaded file shared in multiple
|
|
|
|
messages will not be deleted until all of those messages are
|
|
|
|
deleted).
|
|
|
|
* 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.
|
|
|
|
* For protection against accidental or immediately regretted
|
|
|
|
deletions, messages deleted directly or via a [message retention
|
|
|
|
policy](/help/message-retention-policy) are archived for 7 days in a
|
2020-05-07 00:54:42 +02:00
|
|
|
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
|
|
|
|
|
|
|
## 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)
|
2020-10-30 01:08:36 +01:00
|
|
|
* [Configure editing and deletion policies](/help/configure-message-editing-and-deletion)
|