mautrix / signal

A Matrix-Signal puppeting bridge
GNU Affero General Public License v3.0
484 stars 74 forks source link

Minor incoming messages refactor and send m.notice on decryption errors #496

Closed smweber closed 2 months ago

smweber commented 3 months ago

We were falling through without propagating errors anywhere. I caught most decryption errors and send them along in the new Err field in DecryptionResult, to be then passed along to the bridge as a new type of chat event.

I'm going to do another pass to catch any last decryption errors, but this should be a big improvement over what we currently do.