-
Notifications
You must be signed in to change notification settings - Fork 14
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 an m.room.encryption event is redacted, we think the room is no longer encrypted #1501
Comments
DescriptionSo, encryption appears disabled in direct chat between riot-web desktop app and riot-android if user of the riot-web desktop app accidentally redact the encryption event. Steps to reproduce
encryption will appear disabled on both devices and need to be enabled again in room settings if riot-web user send some messages before encryption is turned on again there will be a notice that messages have not been sent Version information
|
Thanks for the comprehensive report :) I was able to reproduce this. Messages sent after encryption had been 'disabled' triggered the 'Some of your messages have not been sent.' warning, but clicking 'Resend all' doesn't work and displays the following on the console:
Reemabling encryption does indeed restore room functionality. |
Would the reaction disable encryption successfully? Or is the room completely disjunctionally broken then? |
Worse now, it has a chance at causing damage to the user's stored syncs, requiring a completely new initial sync to recover, and potentially leaving the room. |
Any workaround for this issue? I currently have a multiple direct message chats that I'm unable to send messages to via the Riot.im Windows desktop client because of this. Exact same error message in the Electron console:
There is a difference, however, in that my desktop client still shows the room as encrypted under settings. |
Upon further investigation, I found that the
within Room DevTools corrected the issue. |
I don't believe this is actionable, because redacting state events will already cause a whole lot of other behaviour to go haywire, and element isn't able to compensate for it anyways. I suggest this be fixed on the spec side, and not on element's side, as i believe it's a larger issue with 'redacting state events'. |
I think this was incorrectly transferred from element-web. It appears to be specifically talking about element-web. Other platforms have other implementations and different behaviour. |
Actually, I was unable to reproduce this on (legacy) element-web, and it will be fixed by element-hq/element-web#26108 for Element Web R. All clients should keep a record of which rooms are encrypted, and ignore attempts to turn it off. If anyone can reproduce this behaviour, please file issues against the client concerned (with clear repro steps, unlike this issue). |
No description provided.
The text was updated successfully, but these errors were encountered: