Commit Graph

40 Commits

Author SHA1 Message Date
Tulir Asokan b50558a37d Remove custom send_message() function 2018-06-24 00:03:20 +03:00
Tulir Asokan 42fc48adfe Replace tabs with 4 spaces
Telegram doesn't allow tabs and was converting them to a space.
The local formatter needs to account for all of telegram's formatting
rules as otherwise the content-based duplicate checker will fail.
2018-06-23 19:57:11 +03:00
Tulir Asokan 649f8aa9a4 Allow escaping ! -> / conversion. Fixes #134 2018-05-19 21:51:52 +03:00
Tulir Asokan 949c380235 Update reply format again 2018-05-13 10:28:56 +03:00
Tulir Asokan 81d982d254 Add/handle <!--end-mx-reply--> at end of native reply fallbacks. Fixes #133 2018-05-04 15:40:26 +03:00
Tulir Asokan 824725a698 Remove unnecessary newlines from some places. Fixes #113 2018-04-28 21:29:11 +03:00
Tulir Asokan 133e4af712 Fix replying to replies of forwarded messages
Fixes #93
2018-03-31 19:48:31 +03:00
Tulir Asokan 66d68f6b63 Fix error when trying to mention unauthenticated users 2018-03-31 11:18:39 +03:00
Tulir Asokan a1297e90ce Update alchemysession to fix get_entity 2018-03-30 12:50:48 +03:00
Tulir Asokan 6c0399ac7b Convert t.me message URLs to matrix.to message URLs. Fixes #98 2018-03-29 21:23:47 +03:00
Tulir Asokan 22f430c340 Fix forwarded messages from channels not appearing 2018-03-24 17:01:09 +02:00
Tulir Asokan 91ae50911e Fix Telethon 0.18.1 compatibility. Fixes #96 2018-03-24 16:39:28 +02:00
Tulir Asokan b06e7932f0 Add Matrix->Telegram location bridging and add user to relaybot files. Fixes #89 2018-03-10 19:53:08 +02:00
Tulir Asokan 42e33ab54d Add temporary patch for TypeMessageEntity 2018-03-10 14:56:25 +02:00
Tulir Asokan ae88aa0553 Add type hints to formatter 2018-03-10 12:36:11 +02:00
Tulir Asokan 2d63c5b3ce Fix and refactor Matrix->Telegram formatter 2018-03-10 09:39:53 +02:00
Tulir Asokan a469e6ed10 Switch to AGPLv3 2018-03-08 23:49:56 +02:00
Tulir Asokan 8bfb416735 Add config option for plaintext highlight bridging 2018-03-08 20:33:42 +02:00
Tulir Asokan b3082da999 Add option to underline edited part of message in edits. Fixes #61 2018-03-08 19:44:53 +02:00
Tulir Asokan 61d9d6890a Bridge plaintext mentions of Telegram puppets into Telegram mentions 2018-03-08 18:39:27 +02:00
Tulir Asokan 150321a4d7 Fix replies/forwards to/of images 2018-03-08 18:01:58 +02:00
Tulir Asokan ee8531143f Fix small typo 2018-03-08 11:42:53 +02:00
Tulir Asokan 96d3ca106a Fix Matrix -> Telegram code block bridging 2018-03-07 23:28:36 +02:00
Tulir Asokan 7b4b7509f3 Minor improvements to unicode->html formatter 2018-03-07 14:50:41 +02:00
Tulir Asokan 8bbd1f7db1 Fix duplicate unicode formatting when mixing strikethrough and underline 2018-03-07 14:12:37 +02:00
Tulir Asokan a6f26c16fc Add strikethrough/underline <-> unicode converter to formatter 2018-03-07 14:03:38 +02:00
Tulir Asokan 97957a5731 Use native reply fallback format. Fixes #86 2018-03-06 21:24:45 +02:00
Tulir Asokan e2ba478095 Fix highlighting Telegram users without usernames 2018-03-06 00:27:35 +02:00
Tulir Asokan a8322992cc Escape HTML tags in quoted text of non-native replies 2018-03-04 23:20:21 +02:00
Tulir Asokan 021b60a45e Update Telethon and use PyPI telethon-aio package 2018-03-04 13:35:24 +02:00
Tulir Asokan d5038e6b98 Fix non-inline URL parsing 2018-02-24 14:04:23 +02:00
Tulir Asokan 55046e15b2 Add support for /command@bot bot command syntax 2018-02-24 12:57:18 +02:00
Tulir Asokan 1372a16459 Bridge !commands to Telegram /commands 2018-02-24 12:25:13 +02:00
Tulir Asokan 6c7f687539 Fix MessageEntityBotCommand handling 2018-02-24 12:06:30 +02:00
Tulir Asokan 9e5843a0dc Refactor and clean up code 2018-02-23 21:06:28 +02:00
Tulir Asokan 22e4a189eb Convert Telegram room mentions into pills (ref #62) 2018-02-23 16:45:48 +02:00
Tulir Asokan a26f2c2c36 Improve Matrix -> Telegram formatter. Fixes #34 2018-02-23 15:53:55 +02:00
Tulir Asokan 232ec6ee42 Add room pill bridging. Fixes #62 2018-02-22 19:21:29 +02:00
Tulir Asokan 092b80ad02 Handle surrogates in a non-hacky way 2018-02-19 20:53:37 +02:00
Tulir Asokan 51b868d9ce Split formatter to two files 2018-02-19 20:45:40 +02:00