mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 17:56:16 +01:00
a couple final tweaks to contact list and such... #1788
This commit is contained in:
@@ -119,8 +119,8 @@ function accountRoutes(app, middleware, controllers) {
|
||||
app.get('/notifications', middleware.buildHeader, middleware.authenticate, controllers.accounts.getNotifications);
|
||||
app.get('/api/notifications', middleware.authenticate, controllers.accounts.getNotifications);
|
||||
|
||||
app.get('/chats', middleware.buildHeader, middleware.authenticate, controllers.accounts.getChats);
|
||||
app.get('/api/chats', middleware.authenticate, controllers.accounts.getChats);
|
||||
app.get('/chats', middleware.buildHeader, middleware.authenticate, middleware.chat.getContactList, controllers.accounts.getChats);
|
||||
app.get('/api/chats', middleware.authenticate, middleware.chat.getContactList, controllers.accounts.getChats);
|
||||
app.get('/chats/:userslug', middleware.buildHeader, middleware.authenticate, middleware.chat.getMetadata, middleware.chat.getContactList, middleware.chat.getMessages, controllers.accounts.getChats);
|
||||
app.get('/api/chats/:userslug', middleware.authenticate, middleware.chat.getMetadata, middleware.chat.getContactList, middleware.chat.getMessages, controllers.accounts.getChats);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user