mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 20:41:17 +01:00
closes #5101
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
"chat.thirty_days": "30 Days",
|
||||
"chat.three_months": "3 Months",
|
||||
"chat.delete_message_confirm": "Are you sure you wish to delete this message?",
|
||||
"chat.roomname": "Chat Room %1",
|
||||
"chat.add-users-to-room": "Add users to room",
|
||||
|
||||
"composer.compose": "Compose",
|
||||
|
||||
@@ -35,7 +35,7 @@ module.exports = function(Messaging) {
|
||||
function modifyRoomData(rooms) {
|
||||
rooms.forEach(function(data) {
|
||||
if (data) {
|
||||
data.roomName = data.roomName || '[[modules:chat.roomname, ' + data.roomId + ']]';
|
||||
data.roomName = data.roomName || '';
|
||||
data.roomName = validator.escape(String(data.roomName));
|
||||
if (data.hasOwnProperty('groupChat')) {
|
||||
data.groupChat = parseInt(data.groupChat, 10) === 1;
|
||||
|
||||
Reference in New Issue
Block a user