Forwarding messages from relay groups to unencrypted recipients fails silently #16

Closed
opened 2023-12-22 09:43:25 +00:00 by missytake · 0 comments
Owner

The way we re-use the same message object, the core fails to clear the encrypted flag from the message object. If it then is supposed to send it unencrypted, because we don't have a peerstate for the recipient (i.e. if the recipient uses a non-autocrypt client), it fails with a ValueError.

Related core issue: https://github.com/deltachat/deltachat-core-rust/issues/5123

I tried to notify the relay group about the failed message, but that message fails as well.

The way we re-use the same message object, the core fails to clear the `encrypted` flag from the message object. If it then is supposed to send it unencrypted, because we don't have a peerstate for the recipient (i.e. if the recipient uses a non-autocrypt client), it fails with a ValueError. Related core issue: https://github.com/deltachat/deltachat-core-rust/issues/5123 I tried to notify the relay group about the failed message, but that message fails as well.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: missytake/team-bot#16
No description provided.