Commit graph

674 commits

Author SHA1 Message Date
Tulir Asokan
06b84c4bb9 Add option to disable status bridging. Fixes #166 2021-06-01 15:28:15 +03:00
Tulir Asokan
74e21b8e1d Make bridge state monitoring more generic 2021-06-01 15:19:47 +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
c083afa1ef Add logging for ping requests getting cancelled 2021-05-20 13:59:28 +03:00
Tulir Asokan
b07412b421 Don't mark messages older than chat info receive date as read after backfill 2021-05-18 20:09:12 +03:00
Tulir Asokan
66f0b04a31 Send double puppeting identifier with read receipts if server supports it 2021-05-18 15:23:19 +03:00
Tulir Asokan
62e806c8c3 Add option to disable backfill read receipt bridging 2021-05-18 14:16:35 +03:00
Tulir Asokan
1bdbf0a22d Update go-whatsapp 2021-05-18 13:15:40 +03:00
Tulir Asokan
1ef61f7b2f Update whatsapp protocol version identifier 2021-05-12 14:56:42 +03:00
Tulir Asokan
b9b4c11d81 Update dependencies 2021-05-12 14:54:40 +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
4c803a6a13 Include message tag when logging raw JSON messages 2021-05-04 21:44:55 +03:00
Tulir Asokan
947f3466b7 Treat muted until -1 as muted forever 2021-05-04 19:53:43 +03:00
Tulir Asokan
29254ee29a Add more logging to debug chat mute bridging 2021-05-04 13:50:35 +03:00
Tulir Asokan
dbdd3258b2 Fix version command output 2021-04-29 14:00:26 +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
b0d433ea66 Print version when starting 2021-04-25 15:46:06 +03:00
Tulir Asokan
f9098cdf18 Add option to bridge chat pin status from WhatsApp 2021-04-20 16:32:23 +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
06a041981d Merge remote-tracking branch 'conor-f/toggle-presence-and-receipts' 2021-04-19 19:25:40 +03:00
Tulir Asokan
03b211c353 Update mautrix-go 2021-04-19 17:35:11 +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
b1fa9df5f5 Update go-whatsapp 2021-04-08 20:37:48 +03:00
Tulir Asokan
ca285ea9bb Update mautrix-go to use a single http.Client instance 2021-04-06 17:14:32 +03:00
Tulir Asokan
653bbd36de Log data when sending bridge state to asmux 2021-04-05 19:24:37 +03:00
Tulir Asokan
74f09f128c Update go-whatsapp. Fixes #294 2021-04-02 14:22:52 +03:00
Tulir Asokan
c10d714417 Fix encryption getting messed up after receiving inbound olm sessions with SQLite 2021-04-02 14:11:59 +03:00
Tulir Asokan
9a6d9f0383 Don't start new post-login sync if old one is still in progress 2021-04-01 14:06:10 +03:00
Tulir Asokan
af0fd279d2 Bump version to v0.1.6 2021-04-01 12:31:44 +03:00
Tulir Asokan
e9e623abf6 Increment chunk num so backfill logs work correctly 2021-04-01 12:31:39 +03:00
Tulir Asokan
9b25e26b04 Update mautrix-go and add custom user agent 2021-03-26 11:18:10 +02:00
Tulir Asokan
7af5b46414 Set name in SyncContactIfNecessary even if contact info not found 2021-03-22 20:49:17 +02:00
Tulir Asokan
9f64b357e0 Mark Matrix room as read if WhatsApp chat is read after backfill 2021-03-22 14:16:04 +02: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
024d9a0b0e Update go-whatsapp 2021-03-19 20:52:15 +02:00
Tulir Asokan
d07cba4c87 Reduce asmux pong TTLs 2021-03-17 19:12:34 +02:00
Tulir Asokan
c7ecae8129 Update asmux DM endpoint 2021-03-15 22:05:26 +02:00
Tulir Asokan
cbdd10e704 Send real-time whatsapp connection state to asmux 2021-03-15 18:06:16 +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
17d68443b7 Update mautrix-go. Fixes #251 2021-03-08 00:55:54 +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
Tulir Asokan
0b5eeef689 Update mautrix-go to add auth type to register requests 2021-03-04 19:46:32 +02:00
Conor Flynn
58d793724c Allows toggling both presence and receipts with one command param. 2021-03-02 17:06:16 +00:00
Tulir Asokan
e043788037 Update mautrix-go to add timeout to Matrix HTTP requests 2021-03-02 11:43:07 +02:00
Tulir Asokan
ab22e2da0e Update maulogger to fix newlines in log files 2021-03-01 12:41:37 +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