Commit Graph

15 Commits

Author SHA1 Message Date
914d77a24b Tweak database upgrade code style 2021-07-02 14:04:53 -04:00
8c2c0126c9 Sync, store, and poll for incoming read receipts 2021-07-02 14:04:52 -04:00
c124b4c49e Replace str.removeprefix
to avoid having to bump Python version to 3.9
2021-06-18 00:38:45 -04:00
1ae30bcf1b Use read receipts to know when to sync media
Instead of having to view a LINE chat when a media message is sent, send
a placeholder message that gets replaced with the actual media when it's
viewed in Matrix.
2021-06-17 00:42:06 -04:00
33ca6223c5 Use MSC2409 to send outgoing read receipts
When a message is viewed in Matrix, make Puppeteer view its LINE chat
2021-06-11 02:53:30 -04:00
85dc7a842e Don't view LINE DMs whenever possible
Use the sidebar to sync DM messages instead of visiting the DM itself,
so as to not make LINE (and your contact) think you really read the DM.

This cannot be done for non-text messages (which are not previwable in
the sidebar) and non-DM chats (whose sidebar messages don't say who sent
a message).
2021-06-10 02:54:12 -04:00
9d1d6e379c Support LINE users with no discoverable ID
AKA "strangers". Should only happen to non-friends in rooms (not groups!)
2021-06-06 18:24:44 -04:00
6d646e082b Inbound sync & sticker improvements
- Handle "decrypting" state of messages
- Handle lazy loading of emoji
- Better handle lazy loading of images/stickers
- Improve reliability of message sending, especially when sending
  several messages quickly
- Use m.sticker events for inbound stickers instead of m.image, and add
  a config to optionally use m.image if desired
- Use proper sizing for emoji, and add config to scale them since they
  are somewhat small
- Deduplicate stickers as best as possible (works until they get a
  different blob URL)
- Add config to disable bridging stickers/emoji
- Send m.notice for inbound messages of unknown type
2021-06-06 18:15:38 -04:00
635151d079 Remove unneeded functions in ReceiptReaction 2021-04-30 02:56:15 -04:00
c8d1d38d21 Incoming read receipts for MRU chats
TODO: poll other chats for read receipts
2021-04-22 02:40:50 -04:00
d30402a98f More robust message syncing and room cleaning 2021-04-22 02:39:52 -04:00
3126543321 Deduplicate emotes 2021-04-09 00:23:12 -04:00
884d0d32fe Working avatars and icons 2021-03-26 02:27:21 -04:00
b007751610 Avatar and icon URLs 2021-03-23 02:37:30 -04:00
456ac7ff50 Rename again 2021-03-15 01:40:56 -04:00