1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Fix leftover of “stringy“ message types

This commit is contained in:
Maximilian Mader 2014-02-10 00:57:01 +01:00
parent dcc475c828
commit 2dd8c47778

View File

@ -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