Skip to content
Snippets Groups Projects
Unverified Commit 7b8be577 authored by Hugo Costa's avatar Hugo Costa Committed by GitHub
Browse files

[FIX] Open team after room not found page (#26264)

parent db94a203
No related branches found
No related tags found
No related merge requests found
...@@ -100,6 +100,13 @@ export const openRoom = async function (type, name, render = true) { ...@@ -100,6 +100,13 @@ export const openRoom = async function (type, name, render = true) {
return callbacks.run('enter-room', sub); return callbacks.run('enter-room', sub);
} catch (error) { } catch (error) {
c.stop(); c.stop();
if (FlowRouter.getQueryParam('msg')) {
FlowRouter.setQueryParams({
msg: undefined,
});
}
if (type === 'd') { if (type === 'd') {
try { try {
const { rid } = await call('createDirectMessage', ...name.split(', ')); const { rid } = await call('createDirectMessage', ...name.split(', '));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment