Tulir Asokan
7c2e689813
Update mautrix-appservice dependency
2018-07-10 14:45:50 +03:00
Tulir Asokan
62b66040e7
Add some more debug messages to message receiving/handling
2018-07-01 18:41:05 +03:00
Tulir Asokan
0f8a2e7c51
Fix Matrix->Telegram redactions
2018-06-24 02:10:41 +03:00
Tulir Asokan
86bda1bb45
Allow disabling state event relaying by setting format to empty string. Fixes #130
2018-06-24 01:46:06 +03:00
Tulir Asokan
4a0d00e74c
Add support for Matrix displaynames in relaybot messages
2018-06-24 01:24:24 +03:00
Tulir Asokan
b50558a37d
Remove custom send_message() function
2018-06-24 00:03:20 +03:00
Tulir Asokan
ad23445b69
Simplify and improve message format config
2018-06-23 23:46:41 +03:00
Tulir Asokan
7a7c0b780f
Convert user_level to int in _participant_to_power_levels
2018-06-23 21:43:06 +03:00
Tulir Asokan
25b1adf626
Add support for logging in with a bot. Fixes #155
2018-06-23 00:44:41 +03:00
Tulir Asokan
d466060c44
Make logged_in and has_full_access async functions instead of properties
2018-06-22 12:45:19 +03:00
Tulir Asokan
42056b91c5
Fix critical Telethon core rewrite compatibility bugs
2018-06-21 16:16:16 +03:00
Travis Ralston
0d264e09a8
Add configuration for basic message formats
...
Fixes https://github.com/tulir/mautrix-telegram/issues/92
2018-06-07 13:49:03 -06:00
Tulir Asokan
f28f5915a4
Don't create portal in response to relaybot events. Fixes #145
2018-05-31 11:18:48 +03:00
Tulir Asokan
13db0eea93
Sync telegram user's puppet at message send time if no display name is set. Fixes #131
2018-05-19 21:45:47 +03:00
Tulir Asokan
adbd048108
Remove temporary debug messages
2018-05-19 21:42:48 +03:00
Tulir Asokan
7a373fa556
Add option to filter telegram chats from being bridged. Fixes #41
2018-05-19 19:35:01 +03:00
Tulir Asokan
0833850f4f
Fix potential duplicate unauthenticated user join/leave message in Matrix
2018-05-19 16:18:04 +03:00
Tulir Asokan
1e0f2c72b5
Fix line lengths and add limit to .editorconfig
2018-04-29 23:51:28 +03:00
Tulir Asokan
73e7b8f635
Add option to send bot messages as m.notice. Fixes #121
2018-04-29 23:51:27 +03:00
Tulir Asokan
8354bf6bb5
Send gif stickers as-is rather than converting to webp. Fixes #132
2018-04-29 23:15:05 +03:00
Tulir Asokan
db5441c3eb
Fix some potential errors in matrix file handling
2018-04-29 23:15:04 +03:00
Tulir Asokan
bb13813952
Check if portal is channel before trusting member list
2018-04-29 15:54:16 +03:00
Tulir Asokan
2c47cdfac6
Add option to limit number of members in startup sync. Fixes #115
2018-04-29 15:37:53 +03:00
Tulir Asokan
45981b9c77
Add Matrix->Telegram sticker bridging. Fixes #105
2018-04-29 01:49:19 +03:00
Tulir Asokan
c040c0d59c
Cut messages over 4096 characters long. Fixes #117
2018-04-29 01:19:12 +03:00
Tulir Asokan
ae792a7b33
Bridge chat photo removing from Telegram to Matrix. Fixes #123
2018-04-29 00:31:25 +03:00
Tulir Asokan
a3ed8dbce3
Add missing await (ref #123 )
2018-04-29 00:25:28 +03:00
Tulir Asokan
d332a429d6
Add option to disable native stickers. Fixes #116
2018-04-28 22:09:40 +03:00
Tulir Asokan
193dcc714b
Wait for sync to complete when running sync explicitly
2018-04-28 22:01:29 +03:00
Tulir Asokan
445d997be8
Allow deleting messages via relay bot. Fixes #114
2018-04-28 21:52:24 +03:00
Tulir Asokan
8da06c969c
Add option to not make publicly joinable channels public on Matrix. Fixes #128
2018-04-28 21:39:43 +03:00
Tulir Asokan
780edd7e57
Add user+portal-specific lock for sending/receiving messages of authenticated users. Fixes #108
2018-04-28 21:21:51 +03:00
Tulir Asokan
1ce8f08ff2
Remove debug prints and don't set TelegramFile.was_converted if webp image wasn't converted
2018-04-19 11:16:32 +03:00
Tulir Asokan
2eba5f687a
Improve hacky post-error handling for #108
2018-04-15 17:45:28 +03:00
Tulir Asokan
b4b1951509
Add hacky post-error handling for #108
2018-04-13 19:23:54 +03:00
Tulir Asokan
cc29aec3f6
Remove timestamp massaging from edits. Fixes #106
2018-04-13 18:09:56 +03:00
Tulir Asokan
4804023acf
Fix bridging Telegram documents (video/audio/file)
2018-04-09 13:35:54 +03:00
Tulir Asokan
459128a417
Fix error when handling DocumentAttributeSticker without alt
2018-04-08 17:57:30 +03:00
Tulir Asokan
d40b0b896b
Bump mautrix-appservice dependency version and fix mime type document attribute handling
2018-04-07 00:48:55 +03:00
Tulir Asokan
006a5971ea
Split up telegram document handling and send stickers as m.sticker
...
Also add sticker resizing (max 256x256). Cached stickers won't be resized,
delete the `telegram_file` database table if you want all stickers to be
resized.
Fixes #104
2018-04-07 00:34:06 +03:00
Tulir Asokan
a1297e90ce
Update alchemysession to fix get_entity
2018-03-30 12:50:48 +03:00
Tulir Asokan
68a743a563
Send Telegram timestamps and source URLs to Matrix
...
Fixes #97
Fixes #100
2018-03-29 20:57:17 +03:00
Tulir Asokan
91ae50911e
Fix Telethon 0.18.1 compatibility. Fixes #96
2018-03-24 16:39:28 +02:00
Tulir Asokan
0e23aafa3d
Fix duplicate participants causing some users to be left out
2018-03-12 11:02:43 +02:00
Tulir Asokan
88a8404898
Fix saving created portals and use mxid as title by default
2018-03-11 13:41:05 +02:00
Tulir Asokan
54d2b4bba8
Make puppets leave room instead of kicking by AS bot
2018-03-11 13:12:40 +02:00
Tulir Asokan
4448077d43
Fix bot.add_chat() when creating Telegram chat
2018-03-11 13:06:26 +02:00
Tulir Asokan
68648d7b5c
Improve support for portals without power levels
2018-03-11 10:39:24 +02:00
Tulir Asokan
ad9cd27185
Merge branch 'master' into allow-portals-without-power
2018-03-11 10:24:15 +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