-
-
Notifications
You must be signed in to change notification settings - Fork 829
Don't show "can't redact" dialog on network error, with redaction having local echo & queuing now. #3058
Conversation
still trying to figure out if I can detect a network error when redacting, as ideally we shouldn't show the "cant redact" dialog as the redaction might go out later. |
as the redaction is queued now and might be sent later
0cb29e8
to
a11deff
Compare
ready for review now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess for the case of network errors, the redactions end up in detached queue and we show the room status bar to allow retry? Maybe expand the comments here to explain that.
Thanks for working on this! 😁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 😁
Co-Authored-By: J. Ryan Stinnett <[email protected]>
Waiting for js-sdk PR to merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine by itself, but did you want to also listen to the new JS SDK event here or in a separate change? (Or is not needed for React SDK at all...?)
Yes, just noticed my push didn't go through because of the suggestion I merged here 😄 Should be good now. |
Goes with matrix-org/matrix-js-sdk#937