mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 19:31:58 +00:00
js: Normalize strings to double quotes.
Prettier would do this anyway, but it’s separated out for a more reviewable diff. Generated by ESLint. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
06691e1e45
commit
f3726db89a
@@ -1,5 +1,5 @@
|
||||
const util = require("./util");
|
||||
const FoldDict = require('./fold_dict').FoldDict;
|
||||
const FoldDict = require("./fold_dict").FoldDict;
|
||||
|
||||
// The unread module tracks the message IDs and locations of the
|
||||
// user's unread messages. The tracking is initialized with
|
||||
@@ -422,11 +422,11 @@ exports.process_loaded_messages = function (messages) {
|
||||
|
||||
unread_messages.add(message.id);
|
||||
|
||||
if (message.type === 'private') {
|
||||
if (message.type === "private") {
|
||||
exports.unread_pm_counter.add(message);
|
||||
}
|
||||
|
||||
if (message.type === 'stream') {
|
||||
if (message.type === "stream") {
|
||||
exports.unread_topic_counter.add(
|
||||
message.stream_id,
|
||||
message.topic,
|
||||
@@ -445,7 +445,7 @@ exports.update_message_for_mention = function (message) {
|
||||
}
|
||||
|
||||
const is_unmuted_mention =
|
||||
message.type === 'stream' &&
|
||||
message.type === "stream" &&
|
||||
message.mentioned &&
|
||||
!muting.is_topic_muted(message.stream_id, message.topic);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user