|
|
@ -75,7 +75,7 @@ define('forum/chats/search', ['components'], function(components) {
|
|
|
|
return app.alertError(err.message);
|
|
|
|
return app.alertError(err.message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (roomId) {
|
|
|
|
if (roomId) {
|
|
|
|
ajaxify.go('chats/' + roomId);
|
|
|
|
Chats.switchChat(roomId);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
app.newChat(userObj.uid);
|
|
|
|
app.newChat(userObj.uid);
|
|
|
|
}
|
|
|
|
}
|
|
|
|