mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
unread: Add UI support for marking messages as unread.
Fixes #2676. Co-authored-by: Aman Agrawal <amanagr@zulip.com> Co-authored-by: Tim Abbott <tabbott@zulip.com>
This commit is contained in:
@@ -66,6 +66,10 @@ export const send_read = (function () {
|
||||
return add;
|
||||
})();
|
||||
|
||||
export function mark_as_unread(message_ids) {
|
||||
send_flag_update_for_messages(message_ids, "read", "remove");
|
||||
}
|
||||
|
||||
export function save_collapsed(message) {
|
||||
send_flag_update_for_messages([message.id], "collapsed", "add");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user