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

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 Label
No Milestone
No project
No Assignees
1 Participants
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
There is no content yet.