Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

eslint: Fix @typescript-eslint/no-unnecessary-boolean-literal-compare.

Anders Kaseorgd958948f43d6
diff --git a/web/src/emoji.ts b/web/src/emoji.ts
index b0687cd2157..52d34a7349a 100644
--- a/web/src/emoji.ts
+++ b/web/src/emoji.ts
@@ -251,7 +251,7 @@ export function update_emojis(realm_emojis: RealmEmojiMap): void {
still_url: data.still_url,
deactivated: data.deactivated,
});
- if (data.deactivated !== true) {
+ if (!data.deactivated) {
active_realm_emojis.set(data.name, {
id: data.id,
emoji_name: data.name,