Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if everyone leaves a room there's no way to then get into it to delete its alias so you can reuse the alias #3194

Closed
ara4n opened this issue Feb 9, 2017 · 19 comments
Labels
A-Aliases P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Z-Chronic Z-Synapse

Comments

@ara4n
Copy link
Member

ara4n commented Feb 9, 2017

No description provided.

@richvdh
Copy link
Member

richvdh commented Feb 14, 2017

Somewhat related to #1361.

you can delete it as a server admin, obvs. I guess we should extend that ability to people who had rights to remove the alias in the last known state of the room.

@ara4n
Copy link
Member Author

ara4n commented Feb 18, 2017

vaguely relate to matrix-org/synapse#614

@ara4n ara4n added T-Defect S-Major Severely degrades major functionality or product features, with no satisfactory workaround P2 labels Feb 18, 2017
@heyakyra
Copy link

oops, i filed a duplicate at matrix-org/synapse/issues/2100

@t3chguy
Copy link
Member

t3chguy commented Jun 12, 2017

Can this not now be done by shift clicking or something wacky like that? I recall some weird easter egg about it mentioned

@heyakyra
Copy link

heyakyra commented Oct 4, 2017

@t3chguy I don't think so...

@t3chguy
Copy link
Member

t3chguy commented Oct 4, 2017

@ara4n I seem to recall you saying something was shift clickable?

@heyakyra
Copy link

heyakyra commented Oct 4, 2017

i just found this: #1680

@turt2live
Copy link
Member

Shift-clicking as a server admin in the room directory should remove it.

@heyakyra
Copy link

heyakyra commented Oct 4, 2017

yeah, it only works as a server admin in the room directory, not room admins and not automatically after everyone leaves

@cryptix
Copy link

cryptix commented Oct 11, 2017

Hmm.. I managed to do this but the room is not in the room directory but I still have the internal ID....

using the internal ID though only gives me

Failed to join room
No known servers

@ara4n
Copy link
Member Author

ara4n commented Oct 13, 2017

the horrible hacky workaround is to delete the right row from room_aliases table in the DB. we need a proper solution (hence this bug)

@richvdh
Copy link
Member

richvdh commented Oct 13, 2017

can one hit the DELETE /_matrix/client/r0/directory/room/{roomAlias} api rather than messing with the DB?

@cryptix
Copy link

cryptix commented Oct 13, 2017

Thanks you two! I used the DELETE method and can now reuse the alias.

@quenz
Copy link

quenz commented Mar 20, 2019

What if the room goes dead, including the admin of the room, and someone else wants to use the room's alias?

@Programmierschmied
Copy link

@quenz Yeah Sudoquai and me got the same problem.
I think this is still an issue.
Why aliases of deleted rooms aren't deleted too?

@ghost
Copy link

ghost commented Jun 13, 2019

We need a solution for this - when can we expect a solution for this ?

@tulir
Copy link
Contributor

tulir commented Sep 27, 2020

This should be handled on the server side by removing all aliases when the last local user leaves the room. It's not like the aliases would work without the server being in the room, so not much point in keeping them.

@t3chguy
Copy link
Member

t3chguy commented May 17, 2022

Closing as a proposed workaround for what is fundamentally a server misbehaviour - see @tulir's message above

@t3chguy t3chguy closed this as completed May 17, 2022
@ara4n
Copy link
Member Author

ara4n commented May 22, 2022

I've reopened matrix-org/synapse#1307 with more info, so that we're tracking this (very valid) issue somewhere. It's all very well that the fix has been identified, but if it's not tracked on an open bug it's never going to happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Aliases P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Z-Chronic Z-Synapse
Projects
None yet
Development

No branches or pull requests

10 participants