Commit Graph

54 Commits

Author SHA1 Message Date
cf4f40efa2 Command for outbound leaves 2022-04-28 03:26:08 -04:00
e952c05d35 Many fixes thanks to mypy
Also add some missing license headers
2022-04-28 03:26:08 -04:00
ee8b0a2fca Improve room creation
Handle topics, and use arguments instead of initial_state objects
2022-04-28 03:26:08 -04:00
2602e58734 Inbound file messages 2022-04-28 03:26:08 -04:00
c9961d5078 Improve inbound joins, leaves, kicks, and power levels
TODO Channel leaves on backfill
2022-04-28 03:26:07 -04:00
283ff43769 Don't monitor outbound state events for non-open channel portals
They can never be bridged, so allow them as Matrix-only customizations
2022-04-28 03:26:07 -04:00
eed3baa981 Fix misnaming of called function
It was public, not private
2022-04-23 17:02:53 -04:00
13cb5f87ff Fix inbound blank channel descriptions 2022-04-23 13:56:44 -04:00
0a0812515c Fix replies to relayed users' messages 2022-04-14 04:27:23 -04:00
770b0e447b Try outbound room title & description, and work on outbound room avatar
But they fail with -203 (invalid body)
2022-04-14 04:27:23 -04:00
abf3114203 Better error handling for permission setting and privileged actions 2022-04-14 04:27:23 -04:00
746756cc3f Improved power level bridging 2022-04-14 04:27:23 -04:00
a12efc92c4 Inbound channel photo & description 2022-04-14 04:27:23 -04:00
ecb04fc2f5 Inbound permissions & outbound power levels
Note that these only apply to OpenChannels
2022-04-13 05:19:32 -04:00
fe6df88a4b Return IDs of bridged outgoing messages instead of the chats themselves
And set an optional property in AudioAttachment to be safe
2022-04-12 04:42:26 -04:00
aa5c066552 Prepend relayed media messages with a new message of who sent it
And keep its body text unchanged from its original
2022-04-12 04:42:26 -04:00
b9cf30e9e6 Don't log contents of what look to be inbound deleted chats 2022-04-12 04:42:26 -04:00
73f8792b75 Set history & join rules to match KakaoTalk behaviour 2022-04-12 04:42:26 -04:00
2be6a761b6 Don't bridge what look to be inbound deleted chats 2022-04-12 04:42:26 -04:00
383ea05432 Add read receipt handler that I forgot about 2022-04-11 04:50:39 -04:00
68e2f70371 Remove incomplete inbound reaction handlers for now 2022-04-11 00:02:12 -04:00
370865c2c1 Silently handle inbound "feed" messages
They seem to be pure metadata, so don't post them as messages
2022-04-10 05:07:41 -04:00
e2c24c3ac5 Add missing parameter 2022-04-10 04:57:50 -04:00
c9189d17cf Inbound channel/user join/leave 2022-04-10 04:57:50 -04:00
109e9bcc67 For outgoing messages, raise error if disconnected 2022-04-10 04:38:25 -04:00
7b96687dae Inbound read receipts
But not while backfilling
2022-04-10 04:38:25 -04:00
61d9a60704 Outgoing message redactions 2022-04-09 04:14:02 -04:00
01a89508f6 Remove outbound typing listeners
Since KakaoTalk doesn't support typing notifications
2022-04-09 04:14:02 -04:00
60b115bd38 Rename remote->kakaotalk and message->chat 2022-04-09 04:04:10 -04:00
f7d889486a Inbound message deletion/hiding
Treating hiding as equivalent to deletion
2022-04-09 04:04:10 -04:00
f682edb719 Add missing argument 2022-04-06 14:16:12 -04:00
84e6a5829d Outgoing mentions 2022-04-06 12:49:23 -04:00
6867e6b349 Incoming mentions 2022-04-05 18:21:35 -04:00
2b9c59a2af Outbound replies 2022-04-05 15:44:02 -04:00
3ced968494 Inbound replies (and some kwarg cleanup) 2022-04-05 02:44:03 -04:00
d9adfe1550 Send fallback warning message for unsupported inbound message types 2022-04-05 00:54:21 -04:00
a9633118c5 Allow syncing (existing) direct chat channel by inviting puppet to DM 2022-04-04 20:07:30 -04:00
3900e666ff Update mautrix-python & copy latest goodies from mautrix-facebook 2022-04-02 23:16:53 -04:00
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
15415a5eec Send multiphoto messages in order 2022-03-29 03:25:38 -04:00
48ff7b3ceb Inbound multiphoto, video, audio 2022-03-28 03:36:16 -04:00
ace4eefec7 Outbound media messages 2022-03-26 03:37:53 -04:00
256c4d429a Inbound message attachments, starting with images 2022-03-24 22:09:38 -04:00
2d9ae53d89 Add command for listing friends 2022-03-23 03:09:30 -04:00
66262caa63 Restore forgotten channels before sending something into them 2022-03-21 01:33:22 -04:00
b59b8a68c3 Sync receiver of DM channel at init time for existing portal 2022-03-20 03:12:17 -04:00
60c47e5a20 Improved syncing, cleanups 2022-03-18 03:52:55 -04:00
491cdca7b6 Fix how DirectChat and MemoChat channels are handled 2022-03-13 00:30:29 -05:00
1a947a1999 Apply chat sync limit during RPC transfer 2022-03-12 23:26:23 -05:00
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