2
0
mirror of https://github.com/ars3niy/tdlib-purple synced 2025-08-30 05:27:41 +00:00

125 Commits

Author SHA1 Message Date
Arseniy Lartsev
a30aec80a2 Ignore secret photos 2020-05-26 20:27:26 +02:00
Arseniy Lartsev
5f9e4061b7 Added account options for auto-download size limit 2020-05-26 20:06:32 +02:00
Arseniy Lartsev
217fda2063 Removed git commit information (didn't work anyway)
Also log tdlib version when it's determined at run time
2020-05-26 00:15:03 +02:00
Arseniy Lartsev
78759e9eb4 Support authentication with password 2020-05-25 23:53:21 +02:00
Arseniy Lartsev
e0c84cc745 Implemented configuring two-step authentication 2020-05-25 23:21:04 +02:00
Arseniy Lartsev
a2c6b0ea16 Request display name when registering without alias 2020-05-22 22:06:02 +02:00
Arseniy Lartsev
eb48017ffb Deleting and leaving groups, supergroups and channels 2020-05-22 21:21:50 +02:00
Arseniy Lartsev
f7f0310e23 Rearrenged functions in main class 2020-05-22 18:45:15 +02:00
Arseniy Lartsev
eaabaeebdd Implemented creating groups, supergroups and channels 2020-05-22 18:45:14 +02:00
Arseniy Lartsev
91f0a36889 Correctly handle "creator, non-member" and "restricted non-member" 2020-05-22 14:02:48 +02:00
Arseniy Lartsev
d455c2ddc9 Remove chats from contact list when we are no longer group member 2020-05-22 13:46:37 +02:00
Arseniy Lartsev
2b74471a42 Reduced number of arguments to many functions by one 2020-05-22 13:05:11 +02:00
Arseniy Lartsev
9e9dde7fbf Moved some update chat functions out of the main class 2020-05-22 12:49:10 +02:00
Arseniy Lartsev
244a01c92a Implemented removing contacts and private chats on server side 2020-05-21 14:51:52 +02:00
Arseniy Lartsev
1e080dc4cb Fixed wrong purple_debug_... format arguments 2020-05-20 23:36:28 +02:00
Arseniy Lartsev
0ce0344e89 Added test case for adding contact from group chat members 2020-05-20 21:52:44 +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
0e0e6901dd Add contacts from group chat members 2020-05-20 21:31:08 +02:00
Arseniy Lartsev
4d09686b43 Use configured proxy servers 2020-05-20 18:31:37 +02:00
Arseniy Lartsev
1d634e1732 Show proper notification when a group is renamed 2020-05-20 15:24:38 +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
790457db75 Update purple chat alias when telegram group chat is renamed 2020-05-20 14:25:26 +02:00
Arseniy Lartsev
ed534e8094 Made common function for basic group and super group update 2020-05-20 13:55:46 +02:00
Arseniy Lartsev
8716e82b5b Implemented renaming telegram contacts by user 2020-05-20 13:33:47 +02:00
Arseniy Lartsev
2a5b46b7ab Moved another function into "utils" file 2020-05-20 12:45:46 +02:00
Arseniy Lartsev
0fef9f0990 Split buddy alias into first and last name when adding contact 2020-05-20 12:42:58 +02:00
Arseniy Lartsev
89518b79cb Send typing notifications 2020-05-19 21:53:43 +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
6366ee473f Made separate function for chat update 2020-05-19 16:02:42 +02:00
Arseniy Lartsev
f7597b2df0 Added -Wextra flag 2020-05-18 11:07:19 +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
b76dab25f4 Set correct conversation title when receiving group message at login 2020-05-16 19:25:01 +02:00
Arseniy Lartsev
44fd083947 Prepend "Forwarded from..." to received forwarded messages 2020-05-16 15:32:56 +02:00
Arseniy Lartsev
e5ecabf9e4 Don't show or store self-destructing messages
Also in group chat notifications about unsupported messages and such,
show which user they pertain to
2020-05-16 14:44:29 +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
16ff2d734a Mave just one "utils" file 2020-05-15 23:13:22 +02:00
Arseniy Lartsev
29b9dc2421 Show captions for already-downloaded images
Such as identical re-send by someone, or own outgoing message
2020-05-15 19:31:03 +02:00
Arseniy Lartsev
58ea8b8eba Require account alias to be set when registering new user 2020-05-14 15:00:17 +02:00
Arseniy Lartsev
970c0d48a0 Register new user when requested 2020-05-14 14:51:26 +02:00
Arseniy Lartsev
0a0b10dca4 Don't preceed with login before AuthenticationStateReady 2020-05-14 14:51:26 +02:00
Arseniy Lartsev
3d79219904 Preparations for implementing sending images 2020-05-14 14:51:05 +02:00
Arseniy Lartsev
9649c08b97 Refactored message display functions 2020-05-13 19:15:15 +02:00
Arseniy Lartsev
f275484661 Show photos inline rather than as file:// links 2020-05-13 14:55:03 +02:00
Arseniy Lartsev
f2574aa4e7 Use requested group when adding contacts 2020-05-13 12:31:03 +02:00
Eion Robb
d01e1add9e Fix printf macros for win32 2020-05-13 11:35:26 +02:00
Arseniy Lartsev
07ab43b170 Use user ID for libpurple user name, instead of phone number 2020-05-13 11:21:19 +02:00
Arseniy Lartsev
0613f3110c Joning basic groups using invite link 2020-05-12 19:37:59 +02:00