Commit graph

785 commits

Author SHA1 Message Date
Tulir Asokan bc7a82c0be Use mutex for accessing go-whatsapp contacts and chats maps 2021-06-19 02:22:01 +03:00
Tulir Asokan a3669a675b Update go-whatsapp 2021-06-17 12:46:24 +03:00
Tulir Asokan f9b88839c3 Update mautrix-go 2021-06-17 12:38:04 +03:00
Tulir Asokan 32122c7e54 Bump version to v0.1.7 2021-06-15 21:04:40 +03:00
Tulir Asokan d3b9f4f637 Handle websocket keepalive errors and update deps 2021-06-15 15:07:42 +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 b865205198 Update data sent in bridge status updates 2021-06-09 19:15:53 +03:00
Tulir Asokan d851285787 Send content type with bridge state updates 2021-06-02 21:43:31 +03:00
Tulir Asokan cea691fdce Add missing authorization header to bridge state requests 2021-06-01 15:57:03 +03:00
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