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
Tulir Asokan
0e3bf04daf
Improve post-reconnection resending and fix potential encryption races
2021-02-25 17:22:29 +02:00
Tulir Asokan
6227dfb669
Fix re-syncing broadcast list recipients
2021-02-21 15:00:04 +02:00
Tulir Asokan
ac2ca08007
Sync broadcast list recipients too
2021-02-21 14:45:38 +02:00
Tulir Asokan
a911a0c1a9
Add better support for broadcast lists
2021-02-21 14:18:15 +02:00
Tulir Asokan
7bd47fabb2
Update go-whatsapp to break everything and maybe improve things
2021-02-18 23:36:14 +02:00
Tulir Asokan
ca118e8678
Handle 404 errors when backfilling messages
2021-02-17 01:22:06 +02:00
Tulir Asokan
69dd7f803a
Move whatsapp-ext to go-whatsapp
2021-02-17 01:21:30 +02:00
Tulir Asokan
9f4283b4e0
Add option to disable bridging Matrix leave events
2021-02-10 22:15:23 +02:00
Tulir Asokan
87ead90e03
Ignore group leaves in message history
2021-02-10 20:27:14 +02:00
Tulir Asokan
394da69a69
Ignore picture commands if chat meta sync is disabled
...
We get the same data from the message log
2021-02-09 23:52:55 +02:00
Tulir Asokan
2188dc7701
Add option to not re-sync chat info and user avatars to avoid rate limits
2021-02-09 23:41:13 +02:00
Tulir Asokan
500cb0cd7c
Improve logging when fetching backfill messages
2021-01-23 18:09:58 +02:00
Tulir Asokan
e6ccdb83b7
Revert portal backfill lock changes and update mautrix-go
2020-11-18 13:29:47 +02:00
Tulir Asokan
83779c6970
Correctly log cases where getMessageIntent returns nil
2020-11-17 02:16:32 +02:00
Tulir Asokan
7d54aca762
Add metric for tracking buffer size
2020-11-16 14:28:08 +02:00
Tulir Asokan
05b8d577f3
Retry sending messages if server returns 502
2020-11-09 18:05:23 +02:00
Tulir Asokan
a49a5fa3d4
Retry sending when receiving 599 error
2020-11-04 14:58:24 +02:00
Tulir Asokan
a1740db0d7
Fix bridge->bridge file names
...
WhatsApp uses the "title" and "fileName" fields for document names. The bridge
was only reading title and sending fileName, so sending a document from one
bridge to another through WhatsApp would lose the file name.
Also use names like "image.png" instead of "<random id>.png" for unnamed files
2020-11-02 17:18:21 +02:00
Tulir Asokan
63933d0c7e
Include debug message when receiving 599 status code
2020-10-26 17:10:46 +02:00
Tulir Asokan
cccaa62a20
Merge pull request #232 from rreuvekamp/fix_228
...
Set RestrictMessageSending in portal create+update
2020-10-24 16:53:46 +03:00
Remi Reuvekamp
702a837929
Set RestrictMessageSending in portal create+update
...
Fixes #228
2020-10-12 12:59:14 +02:00
Tulir Asokan
cd8352a7df
Remove webp conversion
2020-10-09 18:24:29 +03:00
Tulir Asokan
491d8b232e
Stop using github.com/pkg/errors
2020-10-05 22:38:34 +03:00
Tulir Asokan
d67c3a8c96
Wait up to 3 seconds for encryption keys to arrive
2020-09-24 15:25:36 +03:00
Tulir Asokan
2638204eaa
Add option to update m.direct with double puppeting
2020-08-22 13:07:55 +03:00
Tulir Asokan
9671b6c39a
Use MentionedJIDs metadata instead of assuming everything is a mention
2020-07-31 14:30:58 +03:00
Tulir Asokan
0430446d6d
Make message buffers bigger and make locking message handling less hacky
2020-07-23 20:10:21 +03:00
Tulir Asokan
3e7853f125
Send errors for more types of media bridge errors
2020-07-21 16:08:54 +03:00
Tulir Asokan
4a673b92fa
Kick left users when syncing members
2020-07-05 23:16:59 +03:00
Tulir Asokan
8f805c539a
Fix backfill in private chat portal with self
2020-07-05 19:24:48 +03:00
Tulir Asokan
ffb8529b73
Allow creating private chat portal by inviting WhatsApp puppet. Fixes #110
2020-07-05 18:57:03 +03:00
Tulir Asokan
43a3815970
Fix some things related to m.bridge
2020-07-03 13:47:02 +03:00
Tulir Asokan
44b399790b
Fix replies in encrypted rooms
2020-06-30 16:26:13 +03:00
Tulir Asokan
8cfb04a5ed
Handle WhatsApp invites. Fixes #120
2020-06-26 00:13:03 +03:00
Tulir Asokan
326293303d
Handle WhatsApp kicks and Matrix invites
2020-06-25 23:58:35 +03:00
Tulir Asokan
fed6756ae5
Handle leaving and kicking from Matrix. Fixes #47
2020-06-25 23:33:11 +03:00
Tulir Asokan
cbd1a79e80
Ignore some types of message parse errors
2020-06-23 19:03:20 +03:00
Tulir Asokan
3fe9289f91
Add support for Matrix->WhatsApp GIF bridging. Fixes #141
2020-06-23 16:37:13 +03:00
Tulir Asokan
689202f43d
Move HandleMediaMessage parameters to a struct
2020-06-20 22:24:27 +03:00
Lieuwe Rooijakkers
9cc8b04c8e
use whatsapp document filename for document type files
...
Fixes #199
2020-06-20 17:29:52 +02:00
Tulir Asokan
8e30262275
Fix sending updated bridge info
2020-06-15 20:39:16 +03:00
Tulir Asokan
59e2015fa7
Add option to resend bridge info to all portals
2020-06-15 20:28:04 +03:00
Tulir Asokan
ec86259a20
Update bridge info when portal metadata changes
2020-06-15 14:56:52 +03:00
Tulir Asokan
b8de8544e1
Add state key to m.bridge events
2020-06-11 14:41:45 +03:00
Tulir Asokan
7c799f1faa
Encrypt media from WhatsApp when sending to encrypted portal
2020-06-10 15:26:14 +03:00
Tulir Asokan
210b1caf65
Add bridging of location messages to Matrix
2020-06-10 14:58:57 +03:00
Tulir Asokan
e4a160e650
Add basic bridging of contact messages to Matrix
2020-06-10 14:06:36 +03:00
Tulir Asokan
934f98119f
Add option to disable notifications during initial backfill
2020-06-08 20:51:24 +03:00