Commit graph

108 commits

Author SHA1 Message Date
Tulir Asokan
0c5be59fad Include raw protobuf data in events for debugging 2023-08-24 14:48:03 +03:00
Tulir Asokan
97a3c97b8e Handle conversations moving into spam 2023-08-21 19:59:42 +03:00
Tulir Asokan
16b1f5d0c9 Ignore link preview tombstones in groups as well 2023-08-21 11:09:36 +03:00
Tulir Asokan
667613f0c5 Ignore downloading messages moving away from groups 2023-08-21 10:58:34 +03:00
Tulir Asokan
1a14311ae6 Use SendMessageEvent to ensure reactions get double puppet identifiers 2023-08-21 09:51:48 +03:00
Tulir Asokan
271aa4e993 Ignore more tombstones 2023-08-19 11:43:03 +03:00
Tulir Asokan
40f78b8fd6 Only send checkpoint after message reaches phone 2023-08-18 20:43:46 +03:00
Tulir Asokan
1fd9c70257 Ignore more tombstones, but only in DMs 2023-08-15 11:28:59 +03:00
Tulir Asokan
18288b5ea5 Don't send notifications from batch sending if last message is old 2023-08-15 11:05:21 +03:00
Tulir Asokan
b05212e47d Add support for messages moving to different chats 2023-08-14 15:03:29 +03:00
Tulir Asokan
3f417ba719 Don't bridge auto-downloading messages 2023-08-13 17:10:37 +03:00
Tulir Asokan
dbab44c945 Ignore unknown old messages 2023-08-10 16:25:42 +03:00
Tulir Asokan
bd213bf550 Delete state if phone ID changes on login 2023-08-10 15:55:33 +03:00
Tulir Asokan
c88e5ec550 Fetch conversation info if necessary when creating portal 2023-08-10 14:09:08 +03:00
Tulir Asokan
84aa0c6f4f Check existing messages when forward backfilling 2023-08-10 11:39:09 +03:00
Tulir Asokan
211f000b28 Stop bridging protocol switch messages 2023-08-10 11:30:17 +03:00
Tulir Asokan
f72cb7d7da Track number of parts in message 2023-08-09 19:49:36 +03:00
Tulir Asokan
d1ba596504 Handle message updates properly instead of dropping in-progress messages 2023-08-09 17:54:46 +03:00
Tulir Asokan
aa28b6bd38 Send tombstone messages as bridge bot 2023-08-08 23:18:00 +03:00
Tulir Asokan
9a45e6a534 Refactor message status handling and bridge read receipts 2023-08-08 18:49:03 +03:00
Tulir Asokan
439f5d1033 Delay missed backfill if messages are recent 2023-08-08 17:05:56 +03:00
Tulir Asokan
c3be0a30fa Update mautrix-go 2023-08-08 16:17:14 +03:00
Tulir Asokan
20599e93f3 Include room ID in portal logger 2023-08-02 15:02:54 +03:00
Tulir Asokan
b45185beab Kick users who don't belong in portal (ref #6) 2023-08-02 14:58:27 +03:00
Tulir Asokan
13a8d9b9a9 Add more logs for syncing conversations 2023-08-02 14:54:13 +03:00
Tulir Asokan
7618afed7f Log conversation data when syncing (ref #6) 2023-08-02 14:37:01 +03:00
Tulir Asokan
243ebb3e9c Reduce startup sync logs 2023-07-24 16:50:10 +03:00
Tulir Asokan
95fed6ad49 Expose conversation type in m.bridge info 2023-07-22 19:23:15 +03:00
Tulir Asokan
263c62c109 Allow reactions in all chats
Apparently sometimes Google Messages allows reacting in SMS chats as
well, maybe when the chat changes back and forth between RCS and SMS.
2023-07-20 17:13:54 +03:00
Tulir Asokan
3e6dd5f130 Allow redacting messages in rooms with no send permission 2023-07-20 02:10:46 +03:00
Tulir Asokan
ef8a60977f Don't try to sync power levels before creating room 2023-07-20 02:03:07 +03:00
Tulir Asokan
d7d1abc3b7 Fix some bugs 2023-07-20 01:54:30 +03:00
Tulir Asokan
157c9ff17a Stop using maulogger in Portal 2023-07-20 00:01:05 +03:00
Tulir Asokan
d367469000 Sync read only and RCS status as power levels 2023-07-19 21:40:39 +03:00
Tulir Asokan
907e6af77b Store all own participant IDs for proper multi-sim support 2023-07-19 20:55:52 +03:00
Tulir Asokan
9680040ea1 Reorganize protobuf schemas 2023-07-18 02:57:20 +03:00
Tulir Asokan
4d6233d94b Rename binary package to gmproto 2023-07-17 16:51:31 +03:00
Tulir Asokan
3f912f87cf Remove unnecessary wrapping of API methods 2023-07-16 00:26:22 +03:00
Tulir Asokan
aa89c98353 Add support for sending attachments from Matrix 2023-07-15 20:29:43 +03:00
Tulir Asokan
63d2aab736 Add support for MMS subjects 2023-07-15 19:57:13 +03:00
Tulir Asokan
b2e6d206bd Remove message builder 2023-07-15 19:51:43 +03:00
Tulir Asokan
ffd84f5039 Remove unnecessary utility functions 2023-07-15 16:39:11 +03:00
Tulir Asokan
7860fb64c8 Handle read receipts from Matrix 2023-07-15 14:38:24 +03:00
Tulir Asokan
a21388cdfc Sync read status after backfill 2023-07-15 02:17:36 +03:00
Tulir Asokan
c0313dca87 Add support for deletions in both directions 2023-07-15 01:28:13 +03:00
Tulir Asokan
b5257f53d3 Add support for reactions from Matrix 2023-07-15 01:06:49 +03:00
Tulir Asokan
376f908a03 Add basic support for incoming reactions 2023-07-13 00:44:57 +03:00
Tulir Asokan
1f45d5bdec Add basic forward backfill support 2023-07-12 02:43:09 +03:00
Tulir Asokan
63effcbff6 Only send MSS event after phone confirms sending 2023-07-10 00:35:07 +03:00
Tulir Asokan
b4103e9ba8 Add support for sending replies 2023-07-09 23:59:03 +03:00
Tulir Asokan
5e5e5af2ea Add untested support for incoming replies 2023-07-09 20:48:27 +03:00
Tulir Asokan
7372bc4927 Add basic support for incoming media messages 2023-07-09 20:28:20 +03:00
Tulir Asokan
7e90ec8c14 Fix setting DM room name at creation 2023-07-09 14:57:54 +03:00
Tulir Asokan
1615e146b6 Update library
Co-authored-by: zero <108243503+0xzer@users.noreply.github.com>
2023-07-09 14:49:55 +03:00
Tulir Asokan
44e1cf7464 Don't log re-finding other user ID all the time 2023-07-03 00:13:36 +03:00
Tulir Asokan
383cd88e9e Save portal after updating in_space flag 2023-07-02 23:49:50 +03:00
Tulir Asokan
2b37a6d718 Fix some bugs 2023-07-02 23:47:31 +03:00
Tulir Asokan
63284481d7 Add initial compiling version of bridge 2023-07-02 17:52:28 +03:00