2
0
mirror of https://github.com/ars3niy/tdlib-purple synced 2025-08-31 05:55:08 +00:00
Commit Graph

79 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
47eb61b67a Create conversations for newly created outgoing secret chats 2020-10-05 23:29:20 +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
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
6bbbd518ac Introduced type safety for various tdlib identifiers 2020-10-04 15:17:04 +02:00
Arseniy Lartsev
802f687f71 Set PURPLE_MESSAGE_REMOTE_SEND flag when appropriate 2020-08-23 19:12: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
f8b9e4512c Finished voice calls, at least incoming 2020-07-27 17:39:49 +02:00
Arseniy Lartsev
b0b54d67ab Fixed build with NoVoip, and notify about ignored calls when no support 2020-07-27 10:52:44 +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
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
230b5bfd9a Implemented room list (mostly for bitlbee and spectrum) 2020-06-11 21:16:08 +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
3b3746aa4f Try to explain the group member private conversation glitch to user 2020-06-07 01:14:06 +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
e612a0aa8e Send messages and files to chat members not in buddy list 2020-06-06 20:12:12 +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
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
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
c3d9165813 Prepare to show progress for downloads longer than one second 2020-06-02 18:42:19 +02:00
Arseniy Lartsev
2f1d3329a5 Display supergroup description as chat topic 2020-06-01 11:12:26 +02:00
Arseniy Lartsev
1756fcf382 Added "support" for secret chats 2020-05-31 15:56:50 +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
2c5e804d44 Store users' displayed names on AccountData 2020-05-29 19:39:22 +02:00
Arseniy Lartsev
bafadafa20 Show stickers or sticker thumbnails as inline images 2020-05-29 13:54:07 +02:00
Arseniy Lartsev
8aef08aed9 Implemented sending files to private chats 2020-05-28 21:36:17 +02:00
Arseniy Lartsev
eaabaeebdd Implemented creating groups, supergroups and channels 2020-05-22 18:45:14 +02:00
Arseniy Lartsev
2b74471a42 Reduced number of arguments to many functions by one 2020-05-22 13:05:11 +02:00
Arseniy Lartsev
244a01c92a Implemented removing contacts and private chats on server side 2020-05-21 14:51:52 +02:00
Arseniy Lartsev
f9dc917ed8 Fixed adding contacts
It no longer worked after fixing spurious buddies caused by rogue
addNewChat. Now, also add buddies if user::is_contact_ is true.
2020-05-20 21:31:58 +02:00
Arseniy Lartsev
0a55a34625 Changed the way user name is prepended to notifications
Add the user name when deciding to show notifications, and also do it in
private chats
2020-05-20 15:13:06 +02:00
Arseniy Lartsev
8716e82b5b Implemented renaming telegram contacts by user 2020-05-20 13:33:47 +02:00
Arseniy Lartsev
1b6d8aa8c4 Only add things to contact list if telegram chat is in chat list 2020-05-19 16:36:58 +02:00
Arseniy Lartsev
3e6b0663d7 Fetch old messages when they get replied to 2020-05-17 14:19:59 +02:00
Arseniy Lartsev
3b820fdd6a Display server-side "last online" in buddy tooltip and user info 2020-05-16 21:08:05 +02:00
Arseniy Lartsev
007bbeddc2 Implemented user information 2020-05-16 20:49:50 +02:00
Arseniy Lartsev
b2e6b37734 Quote original messages when displaying replies 2020-05-16 13:38:00 +02:00
Arseniy Lartsev
23c8b812a1 Implement sending images 2020-05-16 00:16:06 +02:00
Arseniy Lartsev
9649c08b97 Refactored message display functions 2020-05-13 19:15:15 +02:00
Arseniy Lartsev
f2574aa4e7 Use requested group when adding contacts 2020-05-13 12:31:03 +02:00
Arseniy Lartsev
c9749a5ae6 Removed unused functions 2020-05-13 11:40:19 +02:00
Arseniy Lartsev
07ab43b170 Use user ID for libpurple user name, instead of phone number 2020-05-13 11:21:19 +02:00