diff --git a/public/src/client/chats.js b/public/src/client/chats.js index bdbe71b86a..3f38a118e9 100644 --- a/public/src/client/chats.js +++ b/public/src/client/chats.js @@ -416,7 +416,7 @@ define('forum/chats', [ roomid = ''; } - var url = 'user/' + ajaxify.data.userslug + '/chats/' + roomid; + var url = 'user/' + ajaxify.data.userslug + '/chats/' + roomid + window.location.search; if (self.fetch) { fetch(config.relative_path + '/api/' + url, { credentials: 'include' }) .then(function (response) {