mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
groupChat on recentChats
This commit is contained in:
@@ -288,6 +288,7 @@ var async = require('async'),
|
||||
|
||||
results.roomData.forEach(function(room, index) {
|
||||
room.users = results.users[index];
|
||||
room.groupChat = room.hasOwnProperty('groupChat') ? room.groupChat : room.users.length > 2;
|
||||
room.unread = results.unread[index];
|
||||
room.teaser = results.teasers[index];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user