Commit Graph

11 Commits

Author SHA1 Message Date
Andrew Ferrazzutti 77d63837bc Update copyright 2022-03-28 15:00:36 -04:00
Andrew Ferrazzutti 975e9c5369 Wait for open connection on startup 2021-07-07 02:22:12 -04:00
Andrew Ferrazzutti c4be4d79ed Proper usage of asyncio exceptions
They belong to the asyncio package, not asyncio.exceptions.
Also remove an unused Tuple import
2021-07-03 12:49:21 -04:00
Andrew Ferrazzutti 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
Andrew Ferrazzutti 555b19c289 Always use LINE puppet for own messages
...that are sent from another client.

Also look up the profile data for the user's LINE account on sync,
including at startup, so that there's always a puppet available.
2021-06-15 02:55:55 -04:00
Andrew Ferrazzutti d894eafc21 Catch IncompleteReadError
It can happen when the input stream closes after a timeout.
2021-05-04 22:00:37 -04:00
Andrew Ferrazzutti 6a9d625d69 Bypass input stream buffer overruns
This fixes crashes that could otherwise happen when receiving animated
stickers.
2021-05-04 03:09:24 -04:00
Andrew Ferrazzutti 99aa333bc2 Replace semaphore with queue 2021-04-21 18:09:21 -04:00
Andrew Ferrazzutti 0ce6b833e3 Attempt to fix ordering of incoming messages 2021-04-21 02:38:10 -04:00
Andrew Ferrazzutti 884d0d32fe Working avatars and icons 2021-03-26 02:27:21 -04:00
Andrew Ferrazzutti 456ac7ff50 Rename again 2021-03-15 01:40:56 -04:00