Commit Graph

33 Commits

Author SHA1 Message Date
Andrew Ferrazzutti a9633118c5 Allow syncing (existing) direct chat channel by inviting puppet to DM 2022-04-04 20:07:30 -04:00
Andrew Ferrazzutti 3900e666ff Update mautrix-python & copy latest goodies from mautrix-facebook 2022-04-02 23:16:53 -04:00
Andrew Ferrazzutti c8803bc8cc Minor cleanups 2022-04-01 05:11:47 -04:00
Andrew Ferrazzutti 59ea91519a Split state into "logged in" and "connected"
Logged in = have (supposedly valid) session tokens
Connected = have an active TalkClient session
2022-04-01 05:11:46 -04:00
Andrew Ferrazzutti 15415a5eec Send multiphoto messages in order 2022-03-29 03:25:38 -04:00
Andrew Ferrazzutti d116ebefc7 Async function -> return awaitable 2022-03-29 03:25:06 -04:00
Andrew Ferrazzutti 48ff7b3ceb Inbound multiphoto, video, audio 2022-03-28 03:36:16 -04:00
Andrew Ferrazzutti ace4eefec7 Outbound media messages 2022-03-26 03:37:53 -04:00
Andrew Ferrazzutti 256c4d429a Inbound message attachments, starting with images 2022-03-24 22:09:38 -04:00
Andrew Ferrazzutti e099886eb1 Minor style changes 2022-03-23 03:15:02 -04:00
Andrew Ferrazzutti 2d9ae53d89 Add command for listing friends 2022-03-23 03:09:30 -04:00
Andrew Ferrazzutti 66262caa63 Restore forgotten channels before sending something into them 2022-03-21 01:33:22 -04:00
Andrew Ferrazzutti b9eb4ce0ac Prevent crash when quitting Python module after Node module 2022-03-21 01:14:52 -04:00
Andrew Ferrazzutti ee3daab48d Rename some login data types & variables 2022-03-21 01:11:42 -04:00
Andrew Ferrazzutti b59b8a68c3 Sync receiver of DM channel at init time for existing portal 2022-03-20 03:12:17 -04:00
Andrew Ferrazzutti 60c47e5a20 Improved syncing, cleanups 2022-03-18 03:52:55 -04:00
Andrew Ferrazzutti 491cdca7b6 Fix how DirectChat and MemoChat channels are handled 2022-03-13 00:30:29 -05:00
Andrew Ferrazzutti c7df4b1e65 Fix channel sync debug message 2022-03-12 23:27:28 -05:00
Andrew Ferrazzutti 1a947a1999 Apply chat sync limit during RPC transfer 2022-03-12 23:26:23 -05:00
Andrew Ferrazzutti 4158788496 Clean up Long
Keep it as an int in Python, and do all fancy conversions in Node
2022-03-11 20:40:33 -05:00
Andrew Ferrazzutti f5d16839a6 Minor cleanups 2022-03-11 20:40:33 -05:00
Andrew Ferrazzutti c48952a9fa Show error on startup/sync failure 2022-03-11 03:40:20 -05:00
Andrew Ferrazzutti 66b66bd27b First crack at incoming messages 2022-03-10 02:46:24 -05:00
Andrew Ferrazzutti 6e6c6f5c48 Message sending 2022-03-09 20:26:39 -05:00
Andrew Ferrazzutti 00c0090c19 Enforce non-optional ktid and kt_receiver for portal DB objects 2022-03-09 02:29:43 -05:00
Andrew Ferrazzutti f8a50f1201 Mark long commands as read 2022-03-09 02:29:43 -05:00
Andrew Ferrazzutti 0c9550841c Puppets and backfilling 2022-03-09 02:29:43 -05:00
Andrew Ferrazzutti e28694c987 Remove union operator from more dataclass fields 2022-03-09 02:29:43 -05:00
Andrew Ferrazzutti 8c2775056d Set logged-in flag after manual login
Not just after loading a session
2022-03-06 03:23:05 -05:00
Andrew Ferrazzutti bb3d7057b3 Implement logging out from the bridge
But there is no API for logging out of KakaoTalk
2022-03-06 03:23:05 -05:00
Andrew Ferrazzutti db41292be7 Remove union operator for Python <3.10 compatibility 2022-02-26 04:06:26 -05:00
Andrew Ferrazzutti b1e922a0fd Fix NormalChannelData deserialization 2022-02-26 02:21:05 -05:00
Andrew Ferrazzutti b57c74eeb6 Initial commit 2022-02-25 02:22:50 -05:00