Commit Graph

99 Commits

Author SHA1 Message Date
91af7890ac For DM checks, use ID of sender instead of channel
This is more migration away from FB's usage of user IDs as DM IDs
2022-04-23 16:51:48 -04:00
421bba7f1f Style updates & minor fixes 2022-04-23 16:48:23 -04:00
13cb5f87ff Fix inbound blank channel descriptions 2022-04-23 13:56:44 -04:00
9dd11efc2d Actually apply displayname_template
Also get rid of displayname_preference until it's implemented
2022-04-23 13:55:55 -04:00
51d02d3c34 Recreate ServiceApiClient on token refresh 2022-04-23 13:51:39 -04:00
eebcef6b08 Add config for custom device name 2022-04-20 23:47:02 -04:00
b85301d59f Don't log contents of RPC calls
It was asking for trouble
2022-04-14 04:27:23 -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
d843fcf5d2 Reset RPC min broadcast ID when node module resets
Otherwise, bridge module will ignore events until new broadcast ID
catches up to the old one
2022-04-13 05:19:33 -04:00
b29453a871 Awaitable / Promise cleanups 2022-04-13 05:19:33 -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
587ec98f3e Handle serializer errors on connect 2022-04-12 04:42:26 -04:00
33a8218eee Add missing None check for outbound read receipts 2022-04-12 04:42:26 -04:00
af296510aa Reinstate outbound formatting 2022-04-12 04:42:26 -04:00
b2f9298817 Remove some apparently unused inbound formatting 2022-04-12 04:42:26 -04:00
38d307c684 Fix sometimes-broken inbound mentions 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
164bb7ce10 Make emoticon alt-text property optional 2022-04-12 04:42:26 -04:00
3bf49123f5 Better node disconnect handling 2022-04-11 14:50:20 -04:00
383ea05432 Add read receipt handler that I forgot about 2022-04-11 04:50:39 -04:00
09e8ceb96c Update version
And from now on, DB table updates require a new revision!
2022-04-11 00:40:10 -04:00
0b23efd43a Remove incomplete web-based login for now 2022-04-11 00:02:12 -04:00
68e2f70371 Remove incomplete inbound reaction handlers for now 2022-04-11 00:02:12 -04:00
9a33f3dcf2 Use More/LessSettings instead of profile on login; add whoami command 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
87b41fbdcc Make another missing inbound property optional 2022-04-10 04:57:50 -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
4a68796fdf Outbound read receipts 2022-04-10 04:38:25 -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
4c205104a9 Inbound profile changes 2022-04-10 02:23:50 -04:00
cf83e86e78 Check that relay users are connected 2022-04-10 02:21:00 -04:00
a7a3ab694e Semicolons & commas 2022-04-10 02:19:59 -04:00
2aace35962 Add listener for inbound client errors 2022-04-10 02:18:53 -04:00
297697973f Catch a possible non-cancel exception when terminating Node module 2022-04-09 04:14:02 -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
075bf3e60f Better tracking of client event handlers 2022-04-09 04:04:10 -04:00
e94c598e3b Force-disable web-based login until it is implemented 2022-04-08 05:16:12 -04:00