Zsin Skri
ef57f1021c
Revert "Don't send delivery receipts to unencrypted private chat portals. Fixes #483 "
...
This reverts commit a4595b427d .
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
https://github.com/mautrix/python/commit/f272f16a1d151a1c6612c9349776eda985c8ea3e
we no longer attempt to join the sender of read receipts, fixing #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.
2022-07-17 20:57:17 +02:00
Tulir Asokan
49520bb8a3
Try to avoid race conditions with supergroup upgrades
2022-07-13 14:20:39 +03:00
Tulir Asokan
7abe19aec9
Add another backfill column
2022-07-13 12:17:35 +03:00
Tulir Asokan
9188251501
Add status field to message status events
2022-07-12 15:05:06 +03:00
Tulir Asokan
cb11e147ce
Add support for Matrix -> Telegram captions with MSC2530
2022-07-12 11:35:51 +03:00
Tulir Asokan
cdfc6fd007
Remove noisy error on ignored messages
2022-07-10 18:20:46 +03:00
Tulir Asokan
df9b7d343e
Add support for forwarding messages
2022-07-07 13:02:01 +03:00
Tulir Asokan
8fd97af0a9
Update mautrix-python
2022-07-05 13:26:03 +03:00
Tulir Asokan
3ea491d379
Fix handling location messages
2022-07-04 10:44:37 +03:00
Tulir Asokan
99344c38a4
Create room on UpdateChannel
2022-06-28 19:20:18 +03:00
Tulir Asokan
d917499d1f
Fix check for using double puppeted leaves
2022-06-28 19:14:37 +03:00
Tulir Asokan
8f68801aa9
Maybe improve channel leave handling
2022-06-27 15:59:11 +03:00
Tulir Asokan
0e024b3b7c
Fetch participant count if it's not included in the entity
2022-06-23 23:59:44 +03:00
Tulir Asokan
e1a5e30a75
Remove legacy crypto database from example config
...
It doesn't seem to be used anywhere
2022-06-23 09:58:10 +03:00
Sumner Evans
05d4923db9
encryption: add ability to control rotation settings
...
Signed-off-by: Sumner Evans <sumner@beeper.com >
2022-06-23 09:58:10 +03:00
Tulir Asokan
ef05875bfd
Remove plaintext_highlights config option
...
The code using it was removed in v0.11.0, so it hasn't actually worked
for a while now.
2022-06-22 12:40:30 +03:00
Tulir Asokan
59d85a1e16
Fix incorrect method call
2022-06-22 12:35:58 +03:00
Tulir Asokan
7eec0d1ed3
Add index on puppet username. Fixes #799
2022-06-22 12:30:07 +03:00
Tulir Asokan
f917ee189d
Don't require puppeting for caption and config commands
...
Fixes #790
2022-06-22 12:30:01 +03:00
Tulir Asokan
ab2e38b33b
Merge remote-tracking branch 'ofalvai/patch-1'
2022-06-22 12:10:52 +03:00
Tulir Asokan
38af35e776
Merge remote-tracking branch 'cynhr/cmd-prefix'
2022-06-22 12:10:44 +03:00
Tulir Asokan
c6adb87aea
Set sync_channel_members to false by default
2022-06-22 12:09:38 +03:00
Tulir Asokan
e8eef1c31e
Add option to not bridge chats with too many members
2022-06-22 12:05:48 +03:00
Cy Nhr
50cd878f13
Include command prefix in game and poll messages
...
Game and poll messages send by the bridge to matrix each include a command the
receiver might want to run (to play the game or to vote in the poll).
But these command suggestions did always include the "!tg" command prefix, even
if the command prefix was changed to a different value in the config. That
could lead to the bridge ignoring the exact command it suggested earlier.
With this commit, these messages contain the correct command prefix as defined
in the config so that the command suggestions can be executed by the user
without manually correcting the prefix.
2022-06-18 20:23:59 +02:00
Tulir Asokan
b60056c560
Add missing prefix to bridge info endpoint
2022-06-18 09:56:54 +03:00
Tulir Asokan
820210dc44
Fix bridging polls from Telegram
2022-06-02 19:40:23 +03:00
Tulir Asokan
7d998dca3f
Add support for custom message bridging status events
2022-06-01 15:36:22 +03:00
Tulir Asokan
037d93471d
Catch PhoneNumberUnoccupied in /login/send_code provisioning API
2022-05-30 22:18:28 +03:00
Tulir Asokan
5cb2b871cd
Fix sticker event type
2022-05-29 00:35:25 +03:00
Tulir Asokan
44f2c648a8
Add config option to exit if telethon update loop fails
2022-05-26 17:37:21 +03:00
Tulir Asokan
0ae8a5877e
Rename db upgrade
2022-05-26 17:28:44 +03:00
Tulir Asokan
18f6622340
Separate Telegram message conversion code from Matrix sending
2022-05-26 15:46:20 +03:00
Tulir Asokan
591e79f5a0
Enable catch_up and sequential_updates by default
2022-05-25 16:49:59 +03:00
Tulir Asokan
d898486b49
Add first_event_id and next_batch_id columns for portals
2022-05-25 14:56:41 +03:00
Tulir Asokan
e89c75c6cd
Don't try to stop relaybot if it's not enabled
2022-05-23 10:46:00 +03:00
Tulir Asokan
9383249ade
Stop relaybot connection cleanly
2022-05-20 18:44:36 +03:00
Tulir Asokan
190f452910
Fix some bugs and update Telethon
2022-05-20 14:24:28 +03:00
Tulir Asokan
3c59a1af97
Adjust logs slightly
2022-05-20 12:28:39 +03:00
Tulir Asokan
11ff628ef8
Always check database before handling message
2022-05-20 12:02:32 +03:00
Tulir Asokan
908e600dc9
Switch /resolve_identifier to GET
2022-05-19 18:22:04 +03:00
Tulir Asokan
eb43fde3e4
Add provisioning API for resolving identifiers
2022-05-19 13:15:44 +03:00
Tulir Asokan
e6ef40e51d
Update Telethon
2022-05-19 13:15:39 +03:00
Tulir Asokan
7feea5aa6d
Redact QR code after login
2022-05-16 19:13:06 +03:00
Lonami
d084cca983
Add get_update_states to telethon_session ( #795 )
...
This is needed for an upcoming patch in order to
properly catch up on all channels the client is in.
2022-05-16 19:09:39 +03:00
Tulir Asokan
d9018868a1
Use new helper method to redact command
2022-05-10 17:27:03 +03:00
Tulir Asokan
72360457ef
Bridge audio and video metadata properly
2022-05-10 17:13:14 +03:00
Tulir Asokan
0e4c1b71e6
Redact 2fa password when using in-Matrix login
2022-05-10 17:04:39 +03:00
Olivér Falvai
575b761f77
Increase image_as_file_pixels default value
2022-05-07 12:23:01 +02:00
Tulir Asokan
21c6a7d87f
Bump version to 0.11.3
2022-04-17 13:30:38 +03:00
Tulir Asokan
7c2a569235
Remove some unused fields
2022-04-13 14:43:53 +03:00