Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable delivery receipts in unencrypted rooms #816

Merged
merged 1 commit into from
Aug 14, 2022

Conversation

zsinskri
Copy link
Contributor

This reverts commit a4595b4.

Commit a4595b4 avoids sending delivery receipts to rooms that do not contain the bridge bot. That was necessary as trying to send a read marker would automatically attempt to join the bridge bot to the room.
That join without invite would fail, hence #483.

But since mautrix/python@f272f16 we no longer attempt to join the sender of read receipts, fixing #483 without necessarily sacrificing the delivery receipt functionality.

See also mautrix-signal, which provides delivery receipts without the check removed in this commit.

Thus:

  • a4595b4 is no longer necessary, its original purpose is fulfilled by f272f16.
  • a4595b4 prevents delivery receipts from working in unencrypted rooms.
  • This reverts a4595b4, thus enabling delivery receipts in unencrypted rooms.

…als. Fixes mautrix#483"

This reverts commit a4595b4.

Commit a4595b4 avoids sending delivery receipts to rooms that do not contain the
bridge bot.  That was necessary as trying to send a read marker would
automatically attempt to join the bridge bot to the room.
That join without invite would fail, hence mautrix#483.

But since
mautrix/python@f272f16
we no longer attempt to join the sender of read receipts, fixing mautrix#483 without
necessarily sacrificing the delivery receipt functionality.

Thus:
- a4595b4 is no longer necessary, its original purpose is fulfilled by f272f16.
- a4595b4 prevents delivery receipts from working in unencrypted rooms.
- This reverts a4595b4, thus enabling delivery receipts in unencrypted rooms.
@zsinskri
Copy link
Contributor Author

zsinskri commented Jul 17, 2022

Please note that I have not tested these changes on a live instance.

I have tested this on a live instance and as far as I can tell, things seem to work.

@tulir tulir merged commit 624c72f into mautrix:master Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants