Node.js based forum software built for the modern web
redirect to correct route on Chats.leave
Anil Mandepudi9c646ce39c86
diff --git a/public/src/client/chats.js b/public/src/client/chats.jsindex 2435042289..7f94eb1b66 100644--- a/public/src/client/chats.js+++ b/public/src/client/chats.js@@ -290,7 +290,7 @@ define('forum/chats', [return app.alertError(err.message);}if (parseInt(roomId, 10) === ajaxify.data.roomId) {- ajaxify.go('chats');+ ajaxify.go('user/' + ajaxify.data.userslug + '/chats');} else {el.remove();}