Commit graph

108 commits

Author SHA1 Message Date
Tulir Asokan
6d393bb9cc Bump version to v0.4.2 2024-06-16 23:58:05 +03:00
Tulir Asokan
2c373db8fc Only set force RCS flag if chat has had e2ee tombstone 2024-06-13 20:46:18 +03:00
Tulir Asokan
0c7e11d8f0 Count remote echo timeouts from ack instead of event ts 2024-06-08 12:47:41 +03:00
Tulir Asokan
18f012d2d0 Add better messages for send response errors 2024-06-07 18:37:25 +03:00
Tulir Asokan
2660e3fa91 Move remote echo timeout checker to separate loop 2024-06-04 20:55:12 +03:00
Tulir Asokan
0236ea64b6 Add checkpoint for message handling taking long 2024-05-24 12:49:16 +03:00
Tulir Asokan
dfcc23e3a7 Send error if remote echo takes unexpectedly long 2024-05-24 12:42:28 +03:00
Tulir Asokan
1d3ef74817 Add support for sending captions and fix some fields in send requests 2024-04-16 17:44:34 +03:00
Tulir Asokan
d0a8b8406c Ignore conversation updates that arrive soon after marking as spam
Apparently there are race conditions in the gmessages app where it may
send a `SPAM_FOLDER` update and then `ACTIVE` immediately afterwards.
2024-04-16 15:48:00 +03:00
Tulir Asokan
2a3acbff1b Ignore old messages even if their ID is higher than new ones 2024-04-08 15:21:08 +03:00
Tulir Asokan
473c9d59f9 Add timeouts for portal event handlers 2024-03-20 13:05:25 +02:00
Tulir Asokan
44fb681955 Don't convert audio message if file is already ogg 2024-03-18 15:55:36 +02:00
Tulir Asokan
3e0e5d703f Make participant deduplication less hacky 2024-03-18 14:54:21 +02:00
Tulir Asokan
7c9483bc2b Fix Matrix voice message check 2024-03-11 17:09:02 +02:00
Tulir Asokan
d9364a7b7f Convert voice messages from/to m4a 2024-03-11 17:03:08 +02:00
Tulir Asokan
c8478eaa33 Try adding SIM payload when sending reactions 2024-03-08 01:45:18 +02:00
Tulir Asokan
d01ae575d2 Fully qualify emojis instead of removing variation selector 2024-03-07 17:05:42 +02:00
Tulir Asokan
94e59bbb3f Further improve hacky deduplication algorithm 2024-03-01 17:56:01 +02:00
Tulir Asokan
072c002198 Improve hacky deduplication algorithm 2024-03-01 13:53:46 +02:00
Tulir Asokan
69764df5f8 Use bot for kicking if necessary 2024-03-01 13:34:27 +02:00
Tulir Asokan
04828bef39 Try another algorithm for DM participant deduplication 2024-03-01 13:26:45 +02:00
Tulir Asokan
2b41398074 Fix power levels when main intent changes 2024-02-29 17:33:15 +02:00
Tulir Asokan
d35936e857 Actually apply hacky deduplication for DM participants 2024-02-29 17:25:51 +02:00
Tulir Asokan
173644423c Add hacky deduplication for DM participants 2024-02-29 17:19:48 +02:00
Tulir Asokan
4998d4a34b Bridge custom emoji reactions as :custom:
Official web app doesn't support them yet either, this is probably
better than the raw UUID
2024-02-29 15:49:36 +02:00
Tulir Asokan
ca0e0a09a1 Add warning log when messages are dropped 2024-02-29 13:38:57 +02:00
Tulir Asokan
fa23bd14e8 Update mautrix-go 2024-02-23 21:20:26 +02:00
Tulir Asokan
9b498149be Fix panic when handling read receipt if user isn't connected 2024-01-16 14:21:13 +02:00
Tulir Asokan
ed00d333d1 Don't block AS transaction processing on read receipts 2023-10-05 13:08:38 +03:00
Tulir Asokan
622daca720 Don't panic if editing message fails 2023-09-27 15:51:05 +03:00
Tulir Asokan
1898a95621 Log if convertGoogleMessage returns nil in update handler 2023-09-11 13:09:08 -04:00
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