Commit graph

77 commits

Author SHA1 Message Date
Tulir Asokan
f6c49ef096 Add workaround for race condition when messages move to different chats 2023-09-07 17:41:45 +03:00
Tulir Asokan
1b7f876b44 Don't panic on Matrix message when user isn't logged in 2023-09-07 17:21:15 +03:00
Tulir Asokan
15015f280e Fix panic if converted message has no parts 2023-09-05 12:57:02 +03:00
Tulir Asokan
25d53248e2 Fix typo 2023-09-05 02:05:01 +03:00
Tulir Asokan
95c0cfa983 Set room avatar for DM portals 2023-09-05 01:42:39 +03:00
Tulir Asokan
a415444fc0 Implement avatars 2023-09-05 01:42:36 +03:00
Tulir Asokan
bbcfff623d Catch panics in portal message handler 2023-09-04 11:51:55 +03:00
Tulir Asokan
53e992c25d Fix handling updates to multipart messages 2023-09-04 11:33:03 +03:00
Tulir Asokan
a947eddcee Use beeper gallery types in mautrix-go 2023-09-02 13:29:48 +03:00
Tulir Asokan
9137cdfc68 Fall back to second media ID field if first is empty 2023-09-02 12:09:59 +03:00
Tulir Asokan
2439be0f71 Add debug logs for pending attachments 2023-09-01 21:33:53 +03:00
Tulir Asokan
101fad5ca6 Add support for Beeper galleries 2023-09-01 17:34:52 +03:00
Tulir Asokan
e1bce0d74b Track settings when send fails 2023-09-01 13:49:27 +03:00
Tulir Asokan
328a3eac53 Handle send error statuses properly 2023-09-01 13:42:52 +03:00
Tulir Asokan
48d761a397 Log google messages send response type 2023-08-30 19:37:04 +03:00
Tulir Asokan
2f8af9b6eb Include sim metadata with outgoing messages 2023-08-30 19:35:02 +03:00
Tulir Asokan
1d86a6c129 Handle all parts of message failing to send 2023-08-30 17:16:24 +03:00
Tulir Asokan
f5c680d76e Ignore chat creation tombstones 2023-08-25 20:44:47 +03:00
Tulir Asokan
2b1f046e75 Log outgoing participant ID when sending 2023-08-24 14:56:41 +03:00
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