mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 05:10:42 +01:00
fix route on chat search
This commit is contained in:
@@ -75,7 +75,7 @@ define('forum/chats/search', ['components'], function(components) {
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
if (roomId) {
|
||||
ajaxify.go('chats/' + roomId);
|
||||
Chats.switchChat(roomId);
|
||||
} else {
|
||||
app.newChat(userObj.uid);
|
||||
}
|
||||
@@ -84,4 +84,4 @@ define('forum/chats/search', ['components'], function(components) {
|
||||
}
|
||||
|
||||
return search;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user