Commit graph

387 commits

Author SHA1 Message Date
Tulir Asokan
f0401ee81e Generate different deterministic event IDs for captions 2022-09-20 17:31:12 +03:00
Tulir Asokan
ec9e6d517f Add missing f
[skip cd]
2022-09-07 12:31:59 -04:00
Tulir Asokan
3f59ae3d26 Ignore webp padding errors. Fixes #549 2022-09-06 15:55:46 -04:00
Tulir Asokan
b923a39d76 Fix media conversion errors not including actual error 2022-08-31 11:10:39 +03:00
Tulir Asokan
985b33fd7c Backfill with deterministic event IDs on hungryserv 2022-08-25 17:05:45 +03:00
Tulir Asokan
11abac2214 Resize webp stickers if they're not 1:1 2022-08-25 11:43:16 +03:00
Tulir Asokan
24f7f353e4 Fix variable names 2022-08-24 21:08:47 +03:00
Tulir Asokan
e554d048c9 Pad images when converting to webp 2022-08-24 21:06:27 +03:00
Tulir Asokan
76c9660849 Reject unsupported message types and add some more conversions
Closes #524
Closes #539
Fixes #510
2022-08-22 15:05:51 +03:00
Tulir Asokan
f79efa9037 Update mautrix-go 2022-08-14 19:37:11 +03:00
Tulir Asokan
e50ac52014 Update mautrix-go 2022-08-04 20:42:03 +03:00
Tulir Asokan
5ba69f7e8e Add support for admin redactions in groups 2022-08-01 09:49:27 +03:00
Tulir Asokan
3617b991c8 Update whatsmeow 2022-08-01 09:49:27 +03:00
Tulir Asokan
465ffa27af Remove special-cased private chat portal cleanup 2022-07-18 16:31:56 +03:00
vurpo
1600559de7
Delete portal if user deletes chat on WhatsApp (#531) 2022-07-18 16:16:17 +03:00
vurpo
180c8996a8
Implement "Delete for me" support for messages (#530) 2022-07-18 16:08:52 +03:00
Tulir Asokan
08d5b10902 Use same ensureUserInvited method everywere. Fixes #529 2022-07-12 13:15:46 +03:00
Tulir Asokan
574d6f47c3 Extend message handling timeout for scheduled messages 2022-07-11 15:08:34 +03:00
Tulir Asokan
794975eaa0 Add support for Matrix -> WhatsApp captions with MSC2530 2022-07-11 14:38:47 +03:00
Tulir Asokan
73f4449761 Add log to find which part of message handling takes long 2022-07-11 14:20:31 +03:00
Tulir Asokan
fb74e014ec Improve log and update dependencies 2022-07-09 11:16:43 +03:00
Tulir Asokan
152f5a57b5 Fix handling not found avatars 2022-07-06 13:54:32 +03:00
Tulir Asokan
1b90f98961 Clamp sticker rendering suggestion 190px 2022-07-05 12:52:32 +03:00
Tulir Asokan
f8d6f712bd Get Matrix msgtype from WhatsApp type instead of mimetype 2022-07-05 12:46:34 +03:00
Tulir Asokan
c16af35d1b Make Portal.UpdateName work without a room 2022-07-05 11:08:21 +03:00
Tulir Asokan
87c4cd6c20 Simplify expression 2022-07-01 22:34:41 +03:00
Tulir Asokan
61f3aa9704 Add still_working field for status event on soft timeouts 2022-07-01 11:02:35 +03:00
Tulir Asokan
bf4c01648f Move most double puppet source key adding to mautrix-go 2022-06-30 20:56:26 +03:00
Tulir Asokan
2542f94e00 Add a warning log and more comments 2022-06-30 14:46:46 +03:00
Tulir Asokan
44768c9c93 Improve max message handling duration options 2022-06-30 14:41:37 +03:00
Tulir Asokan
d3d69d1a8a Add option for max message handling duration 2022-06-29 20:05:55 +03:00
Tulir Asokan
19b4c3093a Apply periodic resync for group chats too 2022-06-28 16:22:11 +03:00
Tulir Asokan
9f0901f560 Add periodic ghost avatar resync 2022-06-28 14:37:50 +03:00
Tulir Asokan
267799cbe0 Update dependencies 2022-06-28 12:09:12 +03:00
Tulir Asokan
68b0f3d0a4 Re-add support for resend_bridge_info 2022-06-27 11:46:30 +03:00
Tulir Asokan
e424382cc9 Add support for list messages 2022-06-24 23:25:38 +03:00
Tulir Asokan
a47ef45e29 Add support for template button reply messages 2022-06-24 22:37:27 +03:00
Tulir Asokan
443ff97e7a Add basic support for business messages 2022-06-24 21:50:58 +03:00
Tulir Asokan
40ea8a8324 Stop using SELECT * 2022-06-24 17:53:28 +03:00
Tulir Asokan
5b698b8c1c Move DualError to mautrix-go 2022-06-21 21:56:08 +03:00
Sumner Evans
e8c86d43d0
encryption: add ability to control rotation settings
Signed-off-by: Sumner Evans <sumner@beeper.com>
2022-06-21 12:33:04 -06:00
Tulir Asokan
aa0daceb85 Add config option to bundle caption with media message 2022-06-17 11:34:24 +03:00
Tulir Asokan
43d8fc5d2b Disallow sending status broadcast messages by default
Sending to big contact lists doesn't really work yet
2022-06-13 20:01:39 +03:00
Tulir Asokan
7f27c76659 Improve tracking errors in Matrix->WhatsApp bridging
Closes #231
2022-05-31 17:28:59 +03:00
Tulir Asokan
79fb0d49b3 Move bridge state stuff to mautrix-go 2022-05-31 00:27:44 +03:00
Tulir Asokan
49a445e10d Update mautrix-go and add log when room is created 2022-05-29 19:22:07 +03:00
Tulir Asokan
372929f454 Fix small things 2022-05-24 14:02:06 +03:00
Tulir Asokan
1185b4bb71 Add mutex to block new messages in specific backfill cases
Specifically, when sending events using the `com.beeper.new_messages`
query param, normal new messages shouldn't be processed, as ordering
might get messed up.

3a264b77ed
2022-05-24 13:39:29 +03:00
Tulir Asokan
91bab528f3 Mark incoming own messages as read after bridging 2022-05-23 10:18:01 +03:00
Tulir Asokan
15129c0acc Move permission config to mautrix-go 2022-05-22 22:03:08 +03:00