Tulir Asokan
4f11d41a60
Fix bug in bridging captions
2021-10-30 19:17:10 +03:00
Tulir Asokan
2b2f1abd85
Improve unhandled message log
2021-10-30 14:47:46 +03:00
Tulir Asokan
3d384a6db7
Clean up and fix some things
2021-10-29 16:50:29 +03:00
Tulir Asokan
bb9a0f6528
Make relay mode more like the Signal bridge
2021-10-28 13:57:15 +03:00
Tulir Asokan
149e9bc8af
Implement WhatsApp->Matrix group info updates
2021-10-28 12:59:22 +03:00
Tulir Asokan
1ad17048cc
Add better logs for Matrix redaction handling
2021-10-27 21:34:22 +03:00
Tulir Asokan
0784132649
Fix choosing intent to handle redaction
2021-10-27 21:09:36 +03:00
Tulir Asokan
92c9ec6203
Remove some commented code and add note about future code to remove
2021-10-27 19:48:14 +03:00
Tulir Asokan
43922cf09e
Pre-render markdown for undecryptable message notice
2021-10-27 18:44:17 +03:00
Tulir Asokan
b918b4f261
Handle decryption errors from WhatsApp properly
2021-10-27 18:31:33 +03:00
Tulir Asokan
b874d324eb
Send dummy event after backfill
...
This is necessary in case there aren't any real messages before the next
backfill. Otherwise the next backfill would go before the old backfill
(at the top of the room) rather than at the bottom of the room.
2021-10-26 21:30:44 +03:00
Tulir Asokan
0b4d0bbbe1
Handle history sync payloads with MSC2716 batch sending
2021-10-26 17:01:10 +03:00
Tulir Asokan
b45e6b29f5
Fix panic and double puppeting
2021-10-25 18:31:37 +03:00
Tulir Asokan
56850bb698
Initial switch to go.mau.fi/whatsmeow
2021-10-22 20:14:34 +03:00
Alexandar Mechev
9ca18ea548
Convert webp images to png when sending to WhatsApp ( #346 )
...
WhatsApp doesn't seem to like webp images
2021-10-06 21:11:37 +03:00
Tulir Asokan
da9fadb009
Add comment
2021-08-19 19:20:11 +03:00
Tulir Asokan
b3312bc663
Always use blank content for replies
...
It seems to work fine on the iOS, Android and Web versions of WhatsApp,
so let's save the two LoadMessages calls.
2021-08-19 19:17:46 +03:00
Tulir Asokan
4fe179d0d7
Remove content from message table. Fixes #320
2021-08-19 19:17:19 +03:00
Tulir Asokan
52484dc992
Add flag to invite events that will be auto-accepted
2021-08-18 16:24:13 +03:00
Tulir Asokan
039059df45
Ignore WhatsApp file length and hash mismatches
2021-08-06 01:33:17 +03:00
Tulir Asokan
f1dd496a2d
Add support for Matrix->WhatsApp location messages
2021-08-04 10:56:55 +03:00
Tulir Asokan
e2acab694c
Fix handling gifs in stickers
2021-07-23 22:44:35 +03:00
Tulir Asokan
e78dda0883
Move UserTyping calls to sendMessage
2021-07-07 15:11:00 +03:00
Tulir Asokan
e926d0175e
Track WhatsApp message age and processing duration
2021-06-25 15:33:46 +03:00
Tulir Asokan
3eb5f44023
Add support for slightly older voice message identifier
2021-06-23 13:23:00 +03:00
Tulir Asokan
b66f37e373
Add ptt flag when sending MSC3245 voice messages to WhatsApp
2021-06-22 20:33:30 +03:00
Tulir Asokan
252d645fea
Fix bridging audio/video duration from/to WhatsApp
2021-06-22 20:05:02 +03:00
Tulir Asokan
bd207df82d
Store last message MXID in database for multipart messages
2021-06-22 12:35:38 +03:00
Tulir Asokan
4b80c15a0a
Add some logs and increase timestamp difference for short-circuiting deduplication
2021-06-21 13:53:08 +03:00
Tulir Asokan
30ddd788ae
Don't stop message processing loop if room creation fails
2021-06-19 02:22:21 +03:00
Tulir Asokan
bc7a82c0be
Use mutex for accessing go-whatsapp contacts and chats maps
2021-06-19 02:22:01 +03:00
Tulir Asokan
b5c3e8abcb
Make sure puppet has displayname set when sending message
2021-06-15 12:34:55 +03:00
Tulir Asokan
d4b7595b6e
Add better error messages for some send errors
2021-06-15 12:07:31 +03:00
Tulir Asokan
1a23bfda30
Log type of message when starting handling
2021-06-10 16:29:20 +03:00
Tulir Asokan
06b84c4bb9
Add option to disable status bridging. Fixes #166
2021-06-01 15:28:15 +03:00
Tulir Asokan
80b534323f
Try to fix false positive send error on whatsapp mobile
2021-06-01 13:32:14 +03:00
Tulir Asokan
7c16eb8c53
Get last message timestamp from database when checking if message is too old
2021-05-12 13:39:24 +03:00
Tulir Asokan
2742d90299
Add option to only bridge mute status and tags when creating portal
2021-04-29 11:57:05 +03:00
Tulir Asokan
badea9c547
Add option to bridge archive and mute status from WhatsApp
2021-04-19 22:14:32 +03:00
Tulir Asokan
c811da6f7d
Cleanup empty group portals even if user didn't leave WhatsApp side
2021-04-16 16:36:56 +03:00
Tulir Asokan
d3c0b50d5a
Move request retrying to mautrix-go
2021-04-15 16:23:40 +03:00
Tulir Asokan
e9e623abf6
Increment chunk num so backfill logs work correctly
2021-04-01 12:31:39 +03:00
Tulir Asokan
24d172fd55
Don't create portals for stub messages
2021-03-19 21:14:01 +02:00
Tulir Asokan
93953ec48f
Sync contact info when syncing room members if puppet has no displayname
2021-03-19 20:55:08 +02:00
Tulir Asokan
e19f8c7532
Fix some relaybot room create issues
...
Fixes #270
Fixes #236
2021-03-08 01:51:37 +02:00
Tulir Asokan
8a6877746d
Wait for connection before handling message when login is in progress
2021-03-05 16:54:23 +02:00
Tulir Asokan
001746be07
Ignore echo of invites sent by the bridge
2021-03-05 11:29:08 +02:00
Tulir Asokan
ab0019d087
Make sure interface conversion succeeds in error check
2021-03-04 20:46:08 +02:00
Héctor Ramírez Franco
464a7ee765
Add config option to disable bridging m.notices
...
Closes #259
2021-02-26 16:11:34 +02:00
Tulir Asokan
3d778a5a44
Create user_portal row when creating portal for new chat
...
Closes #273
Co-authored-by: dbedoya <dbedoya@ikono.com.co>
2021-02-26 16:09:24 +02:00