From 2dd8c4777833652688a350090e33a4437b9c0e92 Mon Sep 17 00:00:00 2001 From: Maximilian Mader Date: Mon, 10 Feb 2014 00:57:01 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20leftover=20of=20=E2=80=9Cstringy=E2=80=9C?= =?UTF-8?q?=20message=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- file/js/be.bastelstu.Chat.litcoffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/js/be.bastelstu.Chat.litcoffee b/file/js/be.bastelstu.Chat.litcoffee index 888528d..de0df93 100644 --- a/file/js/be.bastelstu.Chat.litcoffee +++ b/file/js/be.bastelstu.Chat.litcoffee @@ -507,7 +507,7 @@ Insert the given messages into the chat stream. handleMessages = (messages) -> for message in messages - message.isInPrivateChannel = (String(message.type) is v.config.messageTypes.WHISPER) and ($.wcfIsset("timsChatMessageContainer#{message.receiver}") or $.wcfIsset("timsChatMessageContainer#{message.sender}")) + message.isInPrivateChannel = (message.type is v.config.messageTypes.WHISPER) and ($.wcfIsset("timsChatMessageContainer#{message.receiver}") or $.wcfIsset("timsChatMessageContainer#{message.sender}")) events.newMessage.fire message