Replace ==/!= with ===/!==

This commit is contained in:
deepsource-autofix[bot]
2022-09-05 16:40:08 +00:00
committed by GitHub
parent ba325cdd63
commit 29e4d677f3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ function switchChannel(channelname) {
sessionStorage.setItem("lastdm", channelname);
currentChannel = channelname
if(localStorage.getItem(currentChannel+"enc_key")!=null) {
if(localStorage.getItem(currentChannel+"enc_key")!==null) {
encryption_keys = localStorage.getItem(currentChannel+"enc_key")
} else {
encryption_keys = ""