mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-26 09:50:25 +02:00
backport #5103
This commit is contained in:
committed by
GitHub
parent
dfc8ceef9e
commit
1cf07a6fc5
@@ -75,7 +75,9 @@ define('forum/chats/search', ['components'], function(components) {
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
if (roomId) {
|
||||
Chats.switchChat(roomId);
|
||||
require(['forum/chats'], function(chats) {
|
||||
chats.switchChat(roomId);
|
||||
});
|
||||
} else {
|
||||
app.newChat(userObj.uid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user