Skip to content

Forwarded messages break group assignment #2839

@link2xt

Description

@link2xt

Ferwarded messages retain In-Reply-To of original messages. The fix was suggested by @Hocuri here: #2573 (comment)

In-Reply-To and References header are prioritized for chat assignment since merging of #2795, which is correct but exposes this bug with forwarded messages.

In addition to fix, it is needed to ensure that for messages with a quote dc_msg_get_quoted_msg returns NULL both on the sender and receiver side.

Tests for chat assignment and forwarded quote are obviously needed to ensure there is no regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockerbugSomething is not working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions