Skip to content

Fix message receipts#2161

Merged
jubalh merged 1 commit intomasterfrom
fix/2157
Apr 30, 2026
Merged

Fix message receipts#2161
jubalh merged 1 commit intomasterfrom
fix/2157

Conversation

@jubalh
Copy link
Copy Markdown
Member

@jubalh jubalh commented Apr 27, 2026

When we wanted to adhere better to the XEPs we actually did a mistake.

In commit 421bb2e (so the mistake is there since 0.17.0), a check was added to only request receipts if
support was confirmed via entity capabilities. This was too restrictive as it defaulted to 'not supported' when capabilities were not yet cached (new sessions or bare JIDs).

Following XEP-0184 recommendations, we now only omit the receipt request if we have positive knowledge that the contact does not support it. If capabilities are unknown, we follow the users preference.

Ref: 421bb2e

@jubalh jubalh added this to the next milestone Apr 27, 2026
@jubalh jubalh self-assigned this Apr 27, 2026
@jubalh
Copy link
Copy Markdown
Member Author

jubalh commented Apr 27, 2026

@sezuan please test.

When we wanted to adhere better to the XEPs we actually did a mistake.

In commit 421bb2e (so the mistake is there since 0.17.0),
a check was added to only request receipts if
support was confirmed via entity capabilities. This was too
restrictive as it defaulted to 'not supported' when capabilities
were not yet cached (new sessions or bare JIDs).

Following XEP-0184 recommendations, we now only omit the receipt
request if we have positive knowledge that the contact does not support
it. If capabilities are unknown, we follow the users preference.

Fixes: #2157
Ref: 421bb2e
Signed-off-by: Michael Vetter <jubalh@iodoru.org>
@sezuan
Copy link
Copy Markdown

sezuan commented Apr 30, 2026

Works! Thank you.

@jubalh jubalh merged commit 5b2a122 into master Apr 30, 2026
12 checks passed
@jubalh jubalh deleted the fix/2157 branch April 30, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants