Skip to content

Node.js based forum software built for the modern web

added allowed true to /chats

barisusaklifb1095fc2869
diff --git a/src/controllers/accounts.js b/src/controllers/accounts.js
index 735aedb55c..35e86d7f81 100644
--- a/src/controllers/accounts.js
+++ b/src/controllers/accounts.js
@@ -544,7 +544,8 @@ accountsController.getChats = function(req, res, next) {
return res.render('chats', {
chats: results.recentChats.users,
nextStart: results.recentChats.nextStart,
- contacts: results.contacts
+ contacts: results.contacts,
+ allowed: true
});
}