Node.js based forum software built for the modern web
fix: #7977, fix undefined url (#7978)
Barış Soner Uşaklı95a372df85a5
diff --git a/public/src/client/chats.js b/public/src/client/chats.jsindex 2165d919ea..1d7fb2646e 100644--- a/public/src/client/chats.js+++ b/public/src/client/chats.js@@ -424,8 +424,8 @@ define('forum/chats', [messages.scrollToBottom($('.expanded-chat ul.chat-content'));if (history.pushState) {history.pushState({- url: 'user/' + payload.userslug + '/chats/' + payload.roomId,- }, null, window.location.protocol + '//' + window.location.host + config.relative_path + '/user/' + payload.userslug + '/chats/' + payload.roomId);+ url: url,+ }, null, window.location.protocol + '//' + window.location.host + config.relative_path + '/' + url);}});});