2
0
mirror of https://github.com/ars3niy/tdlib-purple synced 2025-08-29 13:07:39 +00:00

229 Commits

Author SHA1 Message Date
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
Arseniy Lartsev
eee90dc536 Small refactoring 2020-06-06 21:36:42 +02:00
Arseniy Lartsev
e612a0aa8e Send messages and files to chat members not in buddy list 2020-06-06 20:12:12 +02:00
Arseniy Lartsev
a6aa6f4b1d Prepare writing to users who are not contacts 2020-06-06 14:20:56 +02:00
Arseniy Lartsev
6e2a178b0f Split outgoing messages that are above length or caption limit 2020-06-06 13:57:36 +02:00
Arseniy Lartsev
ba78eb937b Deal with special characters when sending and receiving messages 2020-06-06 11:28:09 +02:00
Arseniy Lartsev
a88faec5cf Properly get chat list at login 2020-06-05 23:20:44 +02:00
Arseniy Lartsev
6bc5db45d8 Notify about message send failures 2020-06-05 20:14:17 +02:00
Arseniy Lartsev
82a53fcd38 Removed wrongful comment 2020-06-05 02:45:54 +02:00
Arseniy Lartsev
23f4b75e01 Show avatars for users and group chats 2020-06-04 22:57:01 +02:00
Arseniy Lartsev
296812323a Report progress with PurpleXfer for downloads longer than a second 2020-06-04 01:29:26 +02:00
Arseniy Lartsev
af2b5adc03 Fixed file transfer problem 2020-06-02 21:32:48 +02:00
Arseniy Lartsev
c3d9165813 Prepare to show progress for downloads longer than one second 2020-06-02 18:42:19 +02:00
Arseniy Lartsev
8bfcd0ad61 Finished group description display and changes 2020-06-02 17:38:21 +02:00
Arseniy Lartsev
cb5d2565a1 Handle tdlib fatal errors 2020-06-02 16:58:19 +02:00
Arseniy Lartsev
0c7381e0f0 Change group description when chat topic is changed 2020-06-02 11:52:46 +02:00
Arseniy Lartsev
2f1d3329a5 Display supergroup description as chat topic 2020-06-01 11:12:26 +02:00
Arseniy Lartsev
6d78a59ef1 Fixed some problems after re-enabling compiler warnings 2020-05-31 17:22:04 +02:00
Arseniy Lartsev
1756fcf382 Added "support" for secret chats 2020-05-31 15:56:50 +02:00
Arseniy Lartsev
c33911814d Show video note messages 2020-05-31 14:27:35 +02:00
Arseniy Lartsev
fa965df84e Replaced "two-step" authentication with "two-factor"
It's "two-step" in official client but that's kinda lame
2020-05-31 14:19:09 +02:00
Arseniy Lartsev
c6eba571f5 Don't store all received messages
Always fetch source message for replies from tlib
2020-05-30 10:07:55 +02:00
Arseniy Lartsev
033f1105d1 Some degree of group chat member name deduplication 2020-05-29 21:29:07 +02:00
Arseniy Lartsev
bafadafa20 Show stickers or sticker thumbnails as inline images 2020-05-29 13:54:07 +02:00
Arseniy Lartsev
76cee47163 Preparations for webp sticker decoding, and some refactoring 2020-05-29 12:16:25 +02:00
Arseniy Lartsev
5acb2c2297 Don't write notifications about downloading stickers 2020-05-29 11:18:54 +02:00
Arseniy Lartsev
8aef08aed9 Implemented sending files to private chats 2020-05-28 21:36:17 +02:00