Commit graph

474 commits

Author SHA1 Message Date
Tulir Asokan
b752bb9c15 Update whatsmeow 2023-12-13 20:30:36 +02:00
Tulir Asokan
3e29c51c06 Add missing nil check 2023-12-13 20:30:32 +02:00
Toni Spets
2589049f14 Compress portal event channels into one
Use a single channel of pointers to pre-allocate less memory per
portal.
2023-12-06 12:48:59 +02:00
Tulir Asokan
a8d1900203 Add support for sending media to newsletters 2023-11-19 14:51:30 +02:00
Tulir Asokan
71ab396c7a Add timeout for sending reactions and redactions 2023-11-14 16:45:55 +02:00
Tulir Asokan
f1a38dddf3 Update dependencies 2023-11-12 16:20:54 +02:00
Tulir Asokan
2767819ae0 Check that relaybot is logged in before relaying messages 2023-11-12 16:17:13 +02:00
Tulir Asokan
e94f611002 Give room admin permission to newsletter admins 2023-10-18 13:59:43 +03:00
Tulir Asokan
6feebd827b Add basic newsletter support. Fixes #655 2023-10-13 18:10:26 +03:00
Tulir Asokan
246587b616 Switch to fork of chai2010/webp 2023-10-09 12:41:08 +03:00
Tulir Asokan
9cb0a2e43d Add default mime type if it's missing 2023-10-09 12:10:34 +03:00
Tulir Asokan
d2110f6ee7 Allow sending analytics to custom server 2023-09-29 14:27:38 +03:00
Tulir Asokan
e1edb644c0 Add support for sending Beeper galleries 2023-09-26 21:08:54 +03:00
Tulir Asokan
6c4411c666 Use native webp for decoding
Fixes #650
Fixes GHSA-w665-m639-6c38
2023-09-19 09:14:20 -04:00
Tulir Asokan
8b1308595f Add support for collecting incoming galleries into single event 2023-09-04 19:47:00 +03:00
Tulir Asokan
feff16f303 Remove leftover debug print 2023-09-04 15:34:48 +03:00
Tulir Asokan
c704191e2c Catch panics in portal message handler 2023-09-03 01:32:25 +03:00
Tulir Asokan
015cc1f19f Add delivery status to MSS events 2023-09-01 15:54:27 +03:00
Tulir Asokan
e3a93680b2 Fix syncing community announcement groups 2023-08-28 14:52:14 +03:00
Tulir Asokan
205d4e651b Fix more places where lids aren't ignored 2023-08-13 00:54:51 +03:00
Tulir Asokan
32d26ec0ab Add support for round video messages 2023-08-09 15:31:27 +03:00
Tulir Asokan
dcd4ca366c Update whatsmeow and ignore events from @lid users 2023-08-08 15:11:30 +03:00
Tulir Asokan
6ad533c0ae Add zerolog for message handling context 2023-08-05 20:03:40 +03:00
Tulir Asokan
45e5290f0c Update mautrix-go to move stuff to util 2023-08-05 19:27:00 +03:00
Tulir Asokan
262940f3a0 Use new GenerateMessageID function 2023-08-03 19:47:42 +03:00
Tulir Asokan
27290b7ebd Enable automatically re-requesting undecryptable messages from phone 2023-08-03 16:44:54 +03:00
Tulir Asokan
93aac0a5fb Implicitly enable timer when receiving disappearing messages in DMs 2023-08-03 13:30:38 +03:00
Tulir Asokan
22812c7455 Sleep if logged in user is disconnected when handling message 2023-07-10 12:38:30 +03:00
Tulir Asokan
c00fa4dd24 Send all ogg audio from WhatsApp as voice messages
For some reason WhatsApp removes the `ptt` flag when a message is
forwarded, but still renders them as voice messages.
2023-07-05 12:09:34 +03:00
Tulir Asokan
b33affe97d Log if finding reply target fails 2023-06-28 23:29:18 +03:00
Tulir Asokan
a57f4a67be Check more things via /versions flags 2023-06-19 21:39:25 +03:00
Tulir Asokan
2d33bb1673 Add non-MSC2716 backfill support 2023-06-19 21:39:25 +03:00
Tulir Asokan
5ebc8313d9 Bump version to v0.8.6 2023-06-16 14:30:41 +03:00
Tulir Asokan
f1c07b6b49 Handle poll creation message v3 2023-06-02 15:16:59 +03:00
Tulir Asokan
559ac719a4 Store message sender mxid in database 2023-05-31 16:34:30 +03:00
Tulir Asokan
10aa66a128 Add support for intentional mentions in outgoing messages 2023-05-24 13:02:32 +03:00
Tulir Asokan
b65ec753cf Send audio messages with captions as document messages 2023-05-11 22:10:01 +03:00
Tulir Asokan
8a75e762d5 Save real sender mxid before overriding sender
Fixes #615
2023-05-02 19:59:11 +03:00
Tulir Asokan
51c18ec78b Fix editing relaybot messages 2023-05-01 15:09:22 +03:00
Tulir Asokan
fd83ea8c0a Fix bug with cross-room status replies 2023-04-26 15:16:36 +03:00
Tulir Asokan
172ce83318 Add option to disable reply fallbacks 2023-04-19 17:29:31 +03:00
Tulir Asokan
0fcb64c1aa Add option to not set room meta in encrypted rooms 2023-04-14 13:40:35 +03:00
Tulir Asokan
f24f3bcb79 Re-request media from WhatsApp on 403 2023-04-10 12:18:45 +03:00
Tulir Asokan
139b89cd66 Remove option to disable edit bridging 2023-04-07 12:22:04 +03:00
Tulir Asokan
23c75948f5 Undo incorrect changes 2023-04-06 14:31:21 +03:00
Tulir Asokan
5ffd92731b Add better errors for rejected edits 2023-04-06 14:18:09 +03:00
Tulir Asokan
c2bda58ad6 Update outgoing edit format 2023-04-06 13:54:29 +03:00
Tulir Asokan
dec2f81fbe Add fi.mau.gif flag for gifs 2023-03-28 12:26:30 +03:00
Tulir Asokan
6df2ff7259 Add config option to bridge cross-room replies 2023-03-08 17:14:31 +02:00
Tulir Asokan
5e28343350 Lock latest event backfill lock when handling Matrix messages 2023-03-02 14:14:49 +02:00