2
0
mirror of https://github.com/ars3niy/tdlib-purple synced 2025-08-29 04:57:45 +00:00

205 Commits

Author SHA1 Message Date
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
Arseniy Lartsev
2c8f0e9737 Implemented hangup command for calls 2020-07-27 17:39:49 +02:00
Arseniy Lartsev
78846fb133 Started adding voice call support with libtgvoip 2020-07-26 23:45:11 +02:00
Arseniy Lartsev
ae2eae19cd Moved most file-transfer-related functions to separate file 2020-07-26 14:51:51 +02:00
Arseniy Lartsev
0ef3d78deb Cancel timers and response callbacks where needed
No more need for timer callbacks to figure out whether TdClient still
exists or not.

Also, query timeout cancels any subsequet reply callback and vice versa.
2020-07-26 14:18:49 +02:00
Arseniy Lartsev
e4f4eef6cd Don't append space to account alias if there's no last name 2020-07-25 12:51:16 +02:00
Vitaly Takmazov
119cc7e04a Removed check for non-NULL return value of purple_request_input
Spectrum returns NULL, yet it does support request_input
2020-07-08 20:12:38 +02:00
Arseniy Lartsev
d94712f327 Fixed signedness issue that sneaked in while my warnings were off 2020-07-06 23:46:36 +02:00
Arseniy Lartsev
94e8252778 Always use purple_request_action directly
With purple_request_yes_no and the like, buttons don't get translated
2020-07-06 18:41:20 +02:00
Ben Wiederhake
9b1dfb0df2 Move 'char* _(char*)' to a common place 2020-07-06 10:21:27 +02:00
Arseniy Lartsev
fdd06e02b2 Show members of supergroups in libpurple chat
Show up to 200 members plus up to 200 administrators
2020-07-05 15:01:24 +02:00
Arseniy Lartsev
44a846dad5 Notify about ongoing sticker conversion 2020-06-13 16:09:00 +02:00
Arseniy Lartsev
72d6f59e94 Show animated stickers as inline gifs 2020-06-13 16:01:05 +02:00
Arseniy Lartsev
f6e9d1f1fd Implemented sending files to group chats with libpurple >=2.14 2020-06-12 17:29:58 +02:00
Arseniy Lartsev
230b5bfd9a Implemented room list (mostly for bitlbee and spectrum) 2020-06-11 21:16:08 +02:00
Arseniy Lartsev
6b248364db stuff 2020-06-07 20:54:19 +02:00
Arseniy Lartsev
ffc3ee4c61 Implemented context menu action to show invite link to group 2020-06-07 15:18:22 +02:00
Arseniy Lartsev
648314d106 Implemented adding users to groups 2020-06-07 14:07:58 +02:00
Arseniy Lartsev
1e0a45ceb7 Implemented command to remove users from group 2020-06-07 13:09:35 +02:00
Arseniy Lartsev
e74933bd46 Actually use the API id passed to cmake 2020-06-07 00:05:26 +02:00
Arseniy Lartsev
d37bc858f6 Update member list in group chat conversations when
* td_api::user is updated for a member (it could have caused display
  name change)
* td_api::chat is updated for a private chat with a member (the user
  could have become, or stopped being libpurple buddy, so group chat
  member may need to switch from display name to buddy username or vice
  versa)
2020-06-06 22:33:56 +02:00