mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 02:36:16 +01:00
redirect main window to correct url on chat pop out
This commit is contained in:
@@ -62,7 +62,7 @@ define('forum/chats', [
|
||||
var roomId = ajaxify.data.roomId;
|
||||
|
||||
if (app.previousUrl && app.previousUrl.match(/chats/)) {
|
||||
ajaxify.go('chats', function() {
|
||||
ajaxify.go('user/' + ajaxify.data.userslug + '/chats', function() {
|
||||
app.openChat(roomId);
|
||||
}, true);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user