Commit Graph

228 Commits

Author SHA1 Message Date
Tulir Asokan 502d1f53e6 Set m.relates_to to None always if it's empty 2018-02-11 13:50:15 +02:00
Tulir Asokan 507337ace2 Update native reply format. Fixes #57 2018-02-11 12:37:43 +02:00
Tulir Asokan 3a14f8d245 Merge pull request #56 from tulir/asyncio
Switch to asyncio
2018-02-11 11:46:25 +02:00
Tulir Asokan 8971601c44 Handle leaving chats from other clients 2018-02-10 21:50:21 +02:00
Tulir Asokan 8a5c067259 Add missing awaits and use lock for create_matrix_room. Fixes #49 2018-02-10 21:33:57 +02:00
Tulir Asokan 772e80f74c Add some missing awaits 2018-02-10 20:21:09 +02:00
Tulir Asokan 886a080a36 Fix media upload path 2018-02-10 17:43:46 +02:00
Tulir Asokan 8025535938 Fix decoding errors and handling join errors 2018-02-10 17:14:06 +02:00
Tulir Asokan b0a8d1b984 Remove matrix-client dependency 2018-02-10 16:45:43 +02:00
Tulir Asokan a271322e83 Merge branch 'master' into asyncio 2018-02-10 15:47:16 +02:00
Tulir Asokan 2193e3512d Move version to single place and remove unnecessary peer_type in update handler 2018-02-10 15:46:28 +02:00
Tulir Asokan c7f28fe33f Cleanup and fix setup.py 2018-02-10 14:58:17 +02:00
Tulir Asokan 8fc8cf0dd8 Fix power level update checking 2018-02-10 14:47:32 +02:00
Tulir Asokan 832e13947c Add missing awaits 2018-02-10 14:41:25 +02:00
Tulir Asokan 02708827ac Merge branch 'master' into asyncio 2018-02-10 13:23:17 +02:00
Tulir Asokan 60dbb0d5c4 Fix start()ing users when initializing after startup 2018-02-10 13:22:21 +02:00
Tulir Asokan 706d19fde8 Fix some errors in StateStore and add app version 2018-02-10 13:21:42 +02:00
Tulir Asokan e5b145e8cf Fix command handler 2018-02-10 13:18:32 +02:00
Tulir Asokan 0a6f6844bf Use black magic to make initial sync faster 2018-02-10 12:37:58 +02:00
Tulir Asokan a7c81e46e3 Remove unnecessary thread safety 2018-02-10 12:13:13 +02:00
Tulir Asokan 40178d5917 Show correct displayname in reply to pill 2018-02-10 11:41:08 +02:00
Tulir Asokan 55dc1ff3c7 Initial asyncio version 2018-02-09 23:17:03 +02:00
Tulir Asokan 1e6ff3c28f Remove unnecessary send_code_request 2018-02-08 23:48:38 +02:00
Tulir Asokan edd290e27f Improve things and attempt to fix issue #49 2018-02-08 23:12:12 +02:00
Tulir Asokan a4a7cb2472 Calculate string lengths the same way as Telegram. Fixes #48 2018-02-08 22:52:34 +02:00
Tulir Asokan d349c58f90 Add option to link to original message in non-native reply 2018-02-08 15:27:21 +02:00
Tulir Asokan 9eff63c220 Add option for non-native replies. Fixes #42 2018-02-08 15:02:31 +02:00
Tulir Asokan fb90605557 Fix replying to real Matrix users messages in a multiuser setup 2018-02-08 14:22:48 +02:00
Tulir Asokan 13c2d327fb Stop passing loggers around and organize imports 2018-02-06 18:10:19 +02:00
Tulir Asokan 9ea0ab3df1 Fix minor things 2018-02-06 15:30:30 +02:00
Tulir Asokan d018189c74 Update membership correctly if inviting fails 2018-02-06 15:03:42 +02:00
Tulir Asokan ac188bf85b Don't update power levels at startup unless something changes 2018-02-06 14:54:04 +02:00
Tulir Asokan ff703c2827 Fix two previous commits 2018-02-06 14:23:06 +02:00
Tulir Asokan 9145ebdc64 Fix message ID mapping for channels. Fixes #51 2018-02-06 14:05:55 +02:00
Tulir Asokan 72b8a25cec Implement message deduplication. Fixes #5 2018-02-06 13:49:03 +02:00
Tulir Asokan 0ab3402928 Fix Telethon max version 2018-02-06 10:50:32 +02:00
Tulir Asokan 286c3e8cec Handle incoming read receipts in private chats 2018-02-05 23:04:21 +02:00
Tulir Asokan 7434393e1f Use username for invite link and fix other things
Fixes #50
Other things:
* Display flood wait errors from commands
* (Maybe) Fix removing room aliases when removing channel username
2018-02-05 22:36:11 +02:00
Tulir Asokan 1161c75f3e Implement groupname command to change channel username/public status
Fixes #45
Fixes #46
2018-02-05 21:46:15 +02:00
Tulir Asokan aa1d6c089c Update Telegram user info automatically 2018-02-05 19:40:13 +02:00
Tulir Asokan 11eb9277ed Move TelegramClient extensions to own class 2018-02-05 17:08:00 +02:00
Tulir Asokan c139e24bf4 Move most of README into wiki 2018-02-05 16:40:22 +02:00
Tulir Asokan 18e96abb3f Update README 2018-02-05 00:20:58 +02:00
Tulir Asokan 00bc02832c Remove debug print (again) 2018-02-05 00:00:23 +02:00
Tulir Asokan 385a4eed49 Add group upgrade command and basic supergroup power level bridging.
Fixes #27
Fixes #31
2018-02-04 23:59:41 +02:00
Tulir Asokan 51359747ca Add Telegram->Matrix message pinning support 2018-02-04 23:17:37 +02:00
Tulir Asokan 52269eb35e Allow inviting Matrix users into portal rooms 2018-02-04 22:53:43 +02:00
Tulir Asokan e6afbf96d9 Allow using cache when syncing Matrix power levels 2018-02-04 22:48:39 +02:00
Tulir Asokan ceeeefeae6 Fix most warnings 2018-02-04 20:31:42 +02:00
Tulir Asokan 4ad0b185b4 Remove debug print in StateStore#is_joined 2018-02-04 11:52:16 +02:00