Tulir Asokan
c9f8b83f62
Set double puppet key in backfill events
2022-10-12 10:56:45 +03:00
Tulir Asokan
8ff99ce916
Improve handling of reaching the start of a chat in backfill
2022-10-11 20:34:19 +03:00
Tulir Asokan
27b23a96b6
Properly use takeout client for backfilling
2022-10-11 17:53:41 +03:00
Tulir Asokan
699fc9df1f
Skip unsupported messages in backfill
2022-10-11 17:28:14 +03:00
Tulir Asokan
951d02bfc3
Don't try to backfill if limit is zero
2022-10-11 16:11:34 +03:00
Tulir Asokan
9b9a3b452d
Infinite backfill with MSC2716 ( #817 )
...
Disabled by default, with non-infinite fallback mode as the default behavior
2022-10-11 16:03:52 +03:00
Tulir Asokan
949c6a318f
Don't remove all reactions when one is redacted
2022-10-01 17:32:35 +03:00
Tulir Asokan
f5cb8baf99
Get reaction limit from server app config
2022-10-01 17:27:56 +03:00
Tulir Asokan
025b864bd8
Allow reacting with any unicode emoji using custom pack
2022-10-01 17:17:27 +03:00
Tulir Asokan
65bd7fcc49
Use mautrix-python magic wrapper. Fixes #594
2022-09-17 15:00:49 +03:00
Tulir Asokan
026c39a3de
Add support for new reaction stuff
...
* Custom emojis in reactions
* Premium users can react 3 times to a single message
* Reactions to recent messages are now polled on read receipt
2022-09-17 14:25:06 +03:00
Tulir Asokan
6641b9a16c
Save own ID as message sender ID for messages without sender
2022-09-15 17:18:35 +03:00
Malte E
85b8f5def7
Don't check whether User is channel, add peer property to User
2022-08-24 21:13:11 +03:00
Tulir Asokan
b3ed4cf657
Fix handling messages with no sender
2022-08-17 15:14:07 +03:00
Tulir Asokan
cc29ce19ca
Add missing parameter when handling Matrix files
2022-08-15 11:09:10 +03:00
Tulir Asokan
941aa5f9d8
Fix mistake in mark_disappearing
2022-08-14 14:28:23 +03:00
Tulir Asokan
2ec89bc57e
Add keywords to mark_matrix_handled calls
2022-08-14 13:47:00 +03:00
Tulir Asokan
89294c57d8
Store message sender in database
2022-08-14 13:44:59 +03:00
Tulir Asokan
624c72fa99
Merge remote-tracking branch 'zsinskri/delivery-receipts'
2022-08-14 12:52:33 +03:00
Tulir Asokan
910a681f4b
Mark key parameters as positional-only in async getter lock methods
2022-08-14 12:49:45 +03:00
Tulir Asokan
f13a9d0e96
Add support for disappearing messages
2022-08-14 01:49:39 +03:00
Tulir Asokan
8665871502
Fix some issues with auto-creating groups
2022-07-18 13:01:50 +03:00
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
70b73868c7
Merge remote-tracking branch 'maltee1/auto_create_group'
2022-07-17 16:04:56 +03: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
Malte E
565bb87470
implement handle_puppet_group_invite to auto-create groups
2022-07-12 21:02:14 +02: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
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
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
59d85a1e16
Fix incorrect method call
2022-06-22 12:35:58 +03:00
Tulir Asokan
e8eef1c31e
Add option to not bridge chats with too many members
2022-06-22 12:05:48 +03:00
Tulir Asokan
7d998dca3f
Add support for custom message bridging status events
2022-06-01 15:36:22 +03:00
Tulir Asokan
5cb2b871cd
Fix sticker event type
2022-05-29 00:35:25 +03:00
Tulir Asokan
18f6622340
Separate Telegram message conversion code from Matrix sending
2022-05-26 15:46:20 +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
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
72360457ef
Bridge audio and video metadata properly
2022-05-10 17:13:14 +03:00
Tulir Asokan
7c2a569235
Remove some unused fields
2022-04-13 14:43:53 +03:00
Tulir Asokan
61f3c39cc2
Mark reactions as read when reading from Matrix
2022-04-01 15:56:16 +03:00
Tulir Asokan
58f8ee2ee2
Add config option to mark joined Telegram notices as read automatically
2022-03-30 11:58:40 +03:00
Tulir Asokan
8befb664b6
Handle accepted into group action messages
2022-03-28 15:06:35 +03:00
Tulir Asokan
819dd1bcff
Allow generating invite links that need join approval
2022-03-28 15:03:22 +03:00