From 9c646ce39c86bf46791836bb56e5980b0b3c0f9a Mon Sep 17 00:00:00 2001 From: Anil Mandepudi Date: Mon, 26 Sep 2016 15:56:36 -0700 Subject: [PATCH] redirect to correct route on Chats.leave --- public/src/client/chats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/chats.js b/public/src/client/chats.js index 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(); }