Commit graph

192 commits

Author SHA1 Message Date
Tulir Asokan
2d69a3c42f Remove some unnecessary event wrappers 2023-07-16 02:24:39 +03:00
Tulir Asokan
8302bc95ee Fix URL constant names 2023-07-16 02:21:53 +03:00
Tulir Asokan
15fbc4b654 Don't reconnect when closing connection manually 2023-07-16 02:16:52 +03:00
Tulir Asokan
5d7edac1e8 Move some things out of payload package 2023-07-16 02:16:10 +03:00
Tulir Asokan
abb2c8a21f Send unpair request when logging out 2023-07-16 02:11:25 +03:00
Tulir Asokan
00b7dd1268 Remove duplicate AuthMessage type 2023-07-16 01:56:11 +03:00
Tulir Asokan
10affb59b1 Make response waiting less hacky 2023-07-16 01:55:41 +03:00
Tulir Asokan
50c2d45316 Fix image decryption race condition 2023-07-16 01:45:19 +03:00
Tulir Asokan
f22d4f6ac8 Remove commented logs 2023-07-16 01:04:29 +03:00
Tulir Asokan
14084b9832 Update list conversations payload 2023-07-16 00:55:55 +03:00
Tulir Asokan
4931b1a666 Remove duplicate log 2023-07-16 00:28:00 +03:00
Tulir Asokan
3f912f87cf Remove unnecessary wrapping of API methods 2023-07-16 00:26:22 +03:00
Tulir Asokan
d04b1bde39 Fix some error messages 2023-07-16 00:16:36 +03:00
Tulir Asokan
45d5a556ba Remove useless utility functions 2023-07-15 20:47:56 +03:00
Tulir Asokan
aa89c98353 Add support for sending attachments from Matrix 2023-07-15 20:29:43 +03:00
Tulir Asokan
63d2aab736 Add support for MMS subjects 2023-07-15 19:57:13 +03:00
Tulir Asokan
b2e6d206bd Remove message builder 2023-07-15 19:51:43 +03:00
Tulir Asokan
b8d4b49de3 Add method for sending typing notification 2023-07-15 19:48:11 +03:00
Tulir Asokan
5de0cf774b Make ack log more readable 2023-07-15 18:49:28 +03:00
Tulir Asokan
50ea658fc9 Remove unnecessary JWK functions 2023-07-15 16:45:50 +03:00
Tulir Asokan
ffd84f5039 Remove unnecessary utility functions 2023-07-15 16:39:11 +03:00
Tulir Asokan
c46e47aba8 Clean up some protobuf things 2023-07-15 16:37:44 +03:00
Tulir Asokan
cc0325f7eb Don't log error when closing connection manually 2023-07-15 16:20:02 +03:00
Tulir Asokan
cb7e12290b Log all pblite response contents 2023-07-15 16:17:02 +03:00
Tulir Asokan
08cbe12181 Remove manual json unmarshaling step in pblite 2023-07-15 16:11:36 +03:00
Tulir Asokan
e086846574 Add lock around ackMap 2023-07-15 15:57:07 +03:00
Tulir Asokan
605d84c485 Remove manual json marshaling step in pblite 2023-07-15 15:56:55 +03:00
Tulir Asokan
25236fffa9 Remove hackiness in long polling and ack sending 2023-07-15 15:49:51 +03:00
Tulir Asokan
bbc4da21b7 Add better bridge states 2023-07-15 15:05:40 +03:00
Tulir Asokan
7860fb64c8 Handle read receipts from Matrix 2023-07-15 14:38:24 +03:00
Tulir Asokan
a21388cdfc Sync read status after backfill 2023-07-15 02:17:36 +03:00
Tulir Asokan
8b0717144f Make update deduplication list smaller 2023-07-15 01:51:36 +03:00
Tulir Asokan
c0313dca87 Add support for deletions in both directions 2023-07-15 01:28:13 +03:00
Tulir Asokan
b5257f53d3 Add support for reactions from Matrix 2023-07-15 01:06:49 +03:00
Tulir Asokan
376f908a03 Add basic support for incoming reactions 2023-07-13 00:44:57 +03:00
Tulir Asokan
e1603932aa Fix some checks 2023-07-12 02:49:27 +03:00
Tulir Asokan
1f45d5bdec Add basic forward backfill support 2023-07-12 02:43:09 +03:00
Tulir Asokan
c802d2bced Handle events synchronously and ignore duplicates 2023-07-12 02:18:14 +03:00
Tulir Asokan
4f4b8818e5 Remove unnecessary fetched message media downloading 2023-07-11 01:20:11 +03:00
Tulir Asokan
43ec0da6e9 Notify ditto activity when restarting long polling 2023-07-10 19:52:03 +03:00
Tulir Asokan
fc0882f285 Refresh auth token in long polling loop 2023-07-10 15:12:46 +03:00
Tulir Asokan
63effcbff6 Only send MSS event after phone confirms sending 2023-07-10 00:35:07 +03:00
Tulir Asokan
0d334623e8 Update some enum values 2023-07-09 23:59:22 +03:00
Tulir Asokan
b4103e9ba8 Add support for sending replies 2023-07-09 23:59:03 +03:00
Tulir Asokan
a350e4fc00 Fix usages of log package 2023-07-09 23:33:01 +03:00
Tulir Asokan
a33e01d124 Remove duplicate + in ghost identifiers 2023-07-09 21:00:49 +03:00
Tulir Asokan
5e5e5af2ea Add untested support for incoming replies 2023-07-09 20:48:27 +03:00
zero
a5e4c30a2c Add conversation thumbnail fetching and other library updates 2023-07-09 20:35:29 +03:00
Tulir Asokan
7372bc4927 Add basic support for incoming media messages 2023-07-09 20:28:20 +03:00
Tulir Asokan
5542492a32 Further simplify refresh request signing 2023-07-09 18:39:05 +03:00