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

112 Commits

Author SHA1 Message Date
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
Arseniy Lartsev
24c20de958 Refactored error handling 2020-05-12 16:00:07 +02:00
Arseniy Lartsev
cd57a65e33 Use _() and fmt library for all displayed messages 2020-05-12 15:33:16 +02:00
Arseniy Lartsev
c294fa1781 Refactored stickers 2020-05-12 13:01:18 +02:00
Arseniy Lartsev
b3857896a6 Replace .tgs stickers with their thumbnails
No one can display .tgs
2020-05-12 11:45:49 +02:00
Arseniy Lartsev
09951ef8b8 Receive and show stickers as clickable links 2020-05-12 10:57:32 +02:00
Arseniy Lartsev
986e071006 Moved couple more functions out of PurpleTdClient 2020-05-12 09:35:40 +02:00
Arseniy Lartsev
0ab857fdbc Correctly show existing contacts in group chat user list 2020-05-11 23:38:21 +02:00
Arseniy Lartsev
f1efaa53c1 Moved some functions out of the mainest source file 2020-05-11 20:18:25 +02:00
Arseniy Lartsev
42f2441764 Show list of members in basic groups 2020-05-11 19:44:46 +02:00
Arseniy Lartsev
b34d10d242 Don't use td::td_api::downcast_call
It needs this member function with auto argument thing, which requires
-fconcepts flag to compile with newer gcc. Rather than have such
problems, just don't use this syntax.
2020-05-10 16:32:13 +02:00
Arseniy Lartsev
8cda4074b9 Support sending messages to group chats 2020-05-10 14:24:15 +02:00
Arseniy Lartsev
db1ee736f6 Added test case for incoming group chat message at login 2020-05-10 13:01:57 +02:00
Arseniy Lartsev
368dff17ad Create conversation window when "joining" a chat
This works for groups we are already member of (these will be in the
contact list)
2020-05-10 12:19:19 +02:00