refactor: Rename mark_message(s)_as_read to notify_server_message(s)_read.

Fixes #8965.
Mark_message(s)_as_read is used in marking a message as having been
read by the browser, rename it to notify_server_message(s)_read to
avoid any confusion.
This commit is contained in:
Shubham Padia
2018-04-05 01:02:45 +05:30
committed by Tim Abbott
parent 5740af27d6
commit 6262460773
7 changed files with 13 additions and 13 deletions

View File

@@ -288,7 +288,7 @@ exports.respond_to_message = function (opts) {
return;
}
unread_ops.mark_message_as_read(message);
unread_ops.notify_server_message_read(message);
var stream = '';
var subject = '';