Commit graph

24 commits

Author SHA1 Message Date
Tulir Asokan
8ff1896b18 Update whatsmeow and add bridge state events for keepalive timeouts 2022-05-11 14:04:59 +03:00
Tulir Asokan
dd2919fbdb Fix deduplicating bridge states 2022-05-10 22:16:05 +03:00
Tulir Asokan
66f505303d Update 403 error message
Apparently it happens when switching phones, not only when banned
2022-04-28 20:09:44 +03:00
Tulir Asokan
82472a76df Add queue for bridge state updates 2022-04-22 13:26:37 +03:00
Tulir Asokan
a99ced14fd Send bridge state if connection fails 2022-04-20 13:50:06 +03:00
Tulir Asokan
73241b6f21 Add proper bridge state errors for different logout types 2022-03-15 16:04:10 +02:00
Tulir Asokan
e8c77c7ec6 Try to track when the phone is online and warn user if it's offline for too long 2022-01-25 14:26:24 +02:00
Tulir Asokan
231691ebbd Update whatsmeow to maybe fix retry receipts 2021-11-30 15:14:56 +02:00
Tulir Asokan
a142cf628e Update bridge state message and whatsmeow 2021-11-08 17:31:50 +02:00
Tulir Asokan
dc9e08d39f Stop using ioutil 2021-10-31 13:30:19 +02:00
Tulir Asokan
3d384a6db7 Clean up and fix some things 2021-10-29 16:50:29 +03:00
Tulir Asokan
ded2fb9799 Implement logout and provisioning API login 2021-10-27 15:54:34 +03:00
Tulir Asokan
56850bb698 Initial switch to go.mau.fi/whatsmeow 2021-10-22 20:14:34 +03:00
Tulir Asokan
f7b387a4ff Don't return CONNECTING bridge state if there's no session 2021-10-04 14:59:07 +03:00
Tulir Asokan
59fa4e6480 Always return RUNNING as global bridge state event 2021-09-23 14:04:20 -04:00
Tulir Asokan
9f614a3a81 Update bridge state ping endpoint response format 2021-08-25 15:04:40 +03:00
Tulir Asokan
b2878d5d34 Respond to bridge state ping with unconfigured if there's no session 2021-08-18 20:17:28 +03:00
Tulir Asokan
b4ad4f0921 Rename error_source to source in bridge status 2021-08-05 15:44:55 +03:00
Tulir Asokan
abbff16e66 Switch bridge state system to using state events 2021-08-04 16:14:47 +03:00
Tulir Asokan
d3b9f4f637 Handle websocket keepalive errors and update deps 2021-06-15 15:07:42 +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
74e21b8e1d Make bridge state monitoring more generic 2021-06-01 15:19:47 +03:00