diff --git a/file/js/be.bastelstu.Chat.litcoffee b/file/js/be.bastelstu.Chat.litcoffee index 096fb9d..061ef49 100644 --- a/file/js/be.bastelstu.Chat.litcoffee +++ b/file/js/be.bastelstu.Chat.litcoffee @@ -644,7 +644,7 @@ Fetch the roomlist from the server and update it in the GUI. for room in data.returnValues li = $ '
  • ' li.addClass 'active' if room.active - $("""#{room.title} #{WCF.String.formatNumeric room.userCount}""").addClass('timsChatRoom').data('roomID', room.roomID).appendTo li + $("""#{WCF.String.escapeHTML(room.title)} #{WCF.String.formatNumeric room.userCount}""").addClass('timsChatRoom').data('roomID', room.roomID).appendTo li $('#timsChatRoomList ul').append li if window.history?.replaceState? @@ -742,7 +742,7 @@ Open private channel if userID isnt 0 $('#timsChatTopic').removeClass 'hidden empty' - $('#timsChatTopic > .topic').text WCF.Language.get 'chat.general.privateChannelTopic', {username: userList.allTime[userID].username} + $('#timsChatTopic > .topic').html WCF.Language.get 'chat.general.privateChannelTopic', {username: userList.allTime[userID].username} $('#timsChatTopic > .jsTopicCloser').attr 'title', WCF.Language.get 'chat.general.closePrivateChannel' unless $.wcfIsset "privateChannel#{userID}" diff --git a/file/lib/system/command/commands/InfoCommand.class.php b/file/lib/system/command/commands/InfoCommand.class.php index c51cccc..3fca8b0 100644 --- a/file/lib/system/command/commands/InfoCommand.class.php +++ b/file/lib/system/command/commands/InfoCommand.class.php @@ -15,7 +15,6 @@ * @subpackage system.chat.command.commands */ class InfoCommand extends \chat\system\command\AbstractCommand { - public $enableHTML = self::SETTING_ON; public $lines = array(); public $user = null;