Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Room upgrades can carry over weird state from previous version #6438

Closed
aaronraimist opened this issue Nov 29, 2019 · 6 comments
Closed

Room upgrades can carry over weird state from previous version #6438

aaronraimist opened this issue Nov 29, 2019 · 6 comments
Labels
z-bug (Deprecated Label) z-p2 (Deprecated Label)

Comments

@aaronraimist
Copy link
Contributor

I had been accidentally banned from the original #matrix:matrix.org (!QtykxKocfZaZOUrTwp:matrix.org) several months ago. I had tried to get back in after being unbanned which never really worked. I would maybe get in for a day or two and then get state reset back out of it.

After the room was upgraded (!OGEhHVWSdvArJzumhm:matrix.org) I was able to join initially and I thought it was working but after a few days I just stopped getting messages in the room. I checked on another account (@aaron:kde.org) and the room was getting new messages. I left and rejoined #matrix:matrix.org which seemed to work again for a few days but then I again stopped getting new messages. From @aaron:kde.org's perspective I was banned from the new room.

Currently I am in the room but I can't see any messages and messages I send don't seem to be received by kde.org or matrix.org.

Screen Shot 2019-11-28 at 5 59 56 PM

@aaronraimist
Copy link
Contributor Author

Ok I just left again and used the purge room admin API and I seem to be back in the room. Let's see if it happens again.

@aaronraimist
Copy link
Contributor Author

aaronraimist commented Dec 3, 2019

Yep it happened again. Is this a state reset?

From @aaron:kde.org and @aaronraimist:matrix.org it looks like I am banned. The most recent message I have received in the room is from Nov 30th.

Screen Shot 2019-12-02 at 5 58 32 PM

@richvdh
Copy link
Member

richvdh commented Dec 3, 2019

the ban was copied over from the old room. the upgrade process just copies the state of the room at the point of the upgrade: it so happened that state resets had led to your ban being active at that point.

I've now unbanned your account.

The mystery here is why it appeared that you were able to join the upgraded room despite the ban being in place.

@neilisfragile neilisfragile added z-bug (Deprecated Label) z-p2 (Deprecated Label) labels Dec 3, 2019
@aaronraimist
Copy link
Contributor Author

I appear to be banned again?

Screen Shot 2019-12-10 at 5 15 17 PM
Screen Shot 2019-12-10 at 4 41 49 PM

@richvdh
Copy link
Member

richvdh commented Dec 11, 2019

well, that is a sad situation. I've opened #6520 to track it.

@richvdh
Copy link
Member

richvdh commented Dec 11, 2019

meanwhile, I think that the room upgrade process is working as intended, so I'm going to close this.

@richvdh richvdh closed this as completed Dec 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
z-bug (Deprecated Label) z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

4 participants