mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 10:16:12 +01:00
fix: keep query params when switching chat
This commit is contained in:
@@ -416,7 +416,7 @@ define('forum/chats', [
|
|||||||
roomid = '';
|
roomid = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
var url = 'user/' + ajaxify.data.userslug + '/chats/' + roomid;
|
var url = 'user/' + ajaxify.data.userslug + '/chats/' + roomid + window.location.search;
|
||||||
if (self.fetch) {
|
if (self.fetch) {
|
||||||
fetch(config.relative_path + '/api/' + url, { credentials: 'include' })
|
fetch(config.relative_path + '/api/' + url, { credentials: 'include' })
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
|
|||||||
Reference in New Issue
Block a user