2
0
mirror of https://github.com/ars3niy/tdlib-purple synced 2025-08-30 13:37:45 +00:00

225 Commits

Author SHA1 Message Date
Arseniy Lartsev
fa5e3f8a1c Improved log message when failing to download a file 2020-11-25 17:54:04 +01:00
Arseniy Lartsev
b422ce9da8 Correctly display long downloads which are replies 2020-10-25 17:26:21 +01:00
Ben Wiederhake
92e9ac8753 Add translator notes, fix wrong message 2020-10-25 16:00:42 +01:00
Arseniy Lartsev
7be26c1822 Do not show converted animated stickers out of order 2020-10-18 18:33:41 +02:00
Arseniy Lartsev
5cdd12fa77 Added option to not auto-delete tdlib's downloads 2020-10-18 17:23:00 +02:00
Arseniy Lartsev
260aca2dcc Do not show messages with quickly downloaded inline files out of order 2020-10-12 22:41:13 +02:00
Arseniy Lartsev
92766a2250 Moved all message displaying out of PurpleTdClient class 2020-10-12 20:23:29 +02:00
Arseniy Lartsev
1284c6358b Abolished file download callback 2020-10-12 19:48:44 +02:00
Arseniy Lartsev
265bd3e0c7 Do not pass around download callback inside PurpleTdClient 2020-10-12 19:48:37 +02:00
Arseniy Lartsev
dcd02a1b63 Do not miss captions of already downloaded non-photo files 2020-10-12 18:32:38 +02:00
Arseniy Lartsev
fe76205fd2 Decide how to show downloaded file based on message type
Rather than use multiple callbacks
2020-10-12 18:15:24 +02:00
Arseniy Lartsev
147b6431e0 Use common code when handling files for "not-ready" & "ready" messages 2020-10-11 21:35:10 +02:00
Arseniy Lartsev
05be359e9a Sort of merged TgMessageInfo and IncomingMessage 2020-10-11 19:47:47 +02:00
Arseniy Lartsev
37dbe0ae3e Moved inline file downloading out of PurpleTdClient 2020-10-11 14:59:10 +02:00
Arseniy Lartsev
044008da8d When got (or failed to get) reply source, check again if message ready
Could later be still not ready due to downloads
2020-10-11 13:55:44 +02:00
Arseniy Lartsev
b610766261 Made check for message readiness take file downloading into account 2020-10-11 12:54:20 +02:00
Arseniy Lartsev
0f580bba91 Moved some functions for receiving and showing messages to own file 2020-10-11 11:48:51 +02:00
Arseniy Lartsev
ac120f2c67 Working towards displaying messages with "inline" files in-order 2020-10-11 11:39:07 +02:00
Arseniy Lartsev
552f30b18f Use type-safe message id more 2020-10-11 10:55:42 +02:00
Arseniy Lartsev
9cc0d956c6 Prepare to support multiple message non-readiness reasons 2020-10-11 10:51:16 +02:00
Arseniy Lartsev
fe90927a8b Do not display replies out of order 2020-10-10 15:51:16 +02:00
Arseniy Lartsev
1d29d2eda4 Fixed re-joining group chat conversations at reconnect
It broke when changed to report account connected as soon as
authorization ready
2020-10-09 23:40:34 +02:00
Arseniy Lartsev
a7fbf11352 Use chat info database and not use message database in tdlib 2020-10-08 00:54:27 +02:00
Arseniy Lartsev
47eb61b67a Create conversations for newly created outgoing secret chats 2020-10-05 23:29:20 +02:00
Arseniy Lartsev
2da5780e75 Removed the concept of asking to accept secret chats
tdlib only supports completely disabling them
2020-10-05 21:40:09 +02:00
Arseniy Lartsev
fbdde3793f Changed the way secret chat removal is handled
Don't auto-remove chats when secret chat is closed
Close secret chat whin removed from buddy list
2020-10-04 22:09:19 +02:00
Arseniy Lartsev
417e5b98f8 Try to send messages, files and type notifications to secret chats 2020-10-04 20:42:11 +02:00
Arseniy Lartsev
8393db3298 Try to display messages in secret chats 2020-10-04 20:42:11 +02:00
Arseniy Lartsev
089913eb26 Set correct "who" for file transfers, and verify in tests 2020-10-04 20:42:11 +02:00
Arseniy Lartsev
b3baa548f6 Create libpurple buddies for secret chats 2020-10-04 20:42:11 +02:00
Arseniy Lartsev
d5fe929ba9 Added menu item to start secret chat 2020-10-04 20:42:11 +02:00
Arseniy Lartsev
e6b9016a51 Temporary: remove secret chats when they are closed 2020-10-04 20:42:11 +02:00
Arseniy Lartsev
a6062a50df Moved secret-chat-related stuff to a separate file 2020-10-04 20:42:11 +02:00
Arseniy Lartsev
6bbbd518ac Introduced type safety for various tdlib identifiers 2020-10-04 15:17:04 +02:00
Arseniy Lartsev
8e38173c75 De-translated some messages, and updated various comments 2020-09-02 21:21:35 +02:00
Arseniy Lartsev
fbd1c548a5 Prevent some bitlbee crashes 2020-08-27 20:42:57 +02:00
Arseniy Lartsev
b55728270b Show stickers with PURPLE_MESSAGE_IMAGES 2020-08-27 17:32:17 +02:00
Arseniy Lartsev
6f6c7af73a Set connection to CONNECTED as soon as authorizationStateReady 2020-08-27 17:23:59 +02:00
Arseniy Lartsev
2f6108ec47 Made it possible to write to users who don't become contacts 2020-08-27 11:22:33 +02:00
Arseniy Lartsev
9e3ee906e0 Adding buddies by telegram username 2020-08-27 10:26:42 +02:00
Ben Wiederhake
b8376531bf Permit accelerator keys in dialogs, guide translators 2020-08-23 19:15:43 +02:00
Ben Wiederhake
d77bd71a95 Add hints to translators how to reorder arguments 2020-08-23 19:15:43 +02:00
Arseniy Lartsev
802f687f71 Set PURPLE_MESSAGE_REMOTE_SEND flag when appropriate 2020-08-23 19:12:22 +02:00
Ben Wiederhake
3671598099 i18n: Add translator notes, remove some over-generic dialog titles 2020-08-19 23:40:53 +02:00
Arseniy Lartsev
8c7783d30b Downloads using PurpleXfer: almost finished - left some bugs in 2020-08-15 01:58:45 +02:00
Arseniy Lartsev
d3a5464949 Always use "inline" file transfers for group chats
libpurple transfers aren't equipped to deal with files in group chats
2020-08-15 00:11:16 +02:00
Arseniy Lartsev
d4352d4475 Downloads using PurpleXfer: request the download 2020-08-14 23:22:26 +02:00
Arseniy Lartsev
ff3f1c684b Start looking at download behaviour account option, and some renaming 2020-08-14 22:07:22 +02:00
Arseniy Lartsev
8888e025b6 Implemented joining public groups by group link or name 2020-08-13 13:34:23 +02:00
Arseniy Lartsev
3adf24457d Display proper notification when a call ends 2020-07-28 16:10:02 +02:00