Arseniy Lartsev
6bbbd518ac
Introduced type safety for various tdlib identifiers
2020-10-04 15:17:04 +02:00
Arseniy Lartsev
f8b9e4512c
Finished voice calls, at least incoming
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
e4f4eef6cd
Don't append space to account alias if there's no last name
2020-07-25 12:51:16 +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
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
a88faec5cf
Properly get chat list at login
2020-06-05 23:20:44 +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
8aef08aed9
Implemented sending files to private chats
2020-05-28 21:36:17 +02:00
Arseniy Lartsev
91f0a36889
Correctly handle "creator, non-member" and "restricted non-member"
2020-05-22 14:02:48 +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
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
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
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
09951ef8b8
Receive and show stickers as clickable links
2020-05-12 10:57:32 +02:00
Arseniy Lartsev
42f2441764
Show list of members in basic groups
2020-05-11 19:44:46 +02:00
Arseniy Lartsev
8cda4074b9
Support sending messages to group chats
2020-05-10 14:24:15 +02:00
Arseniy Lartsev
75a1f01358
Implemented receiving group chat messages
2020-05-09 18:58:04 +02:00
Arseniy Lartsev
2e998560e3
Create libpurple chats for group chats at login
2020-05-09 15:13:49 +02:00
Arseniy Lartsev
e9390f91fd
Create libpurple chats if we get added to groups while online
2020-05-09 14:53:48 +02:00
Arseniy Lartsev
7b85148cda
More straightforward handling of updateNewChat
...
Add libpurple buddies as soon as updateNewChat has arrived and phone
number is known, regardles of whether it happens at login or later while
online.
2020-05-08 19:50:55 +02:00
Arseniy Lartsev
b76219c12d
Added support for receiving photos (kind of)
...
Pidgin shows them as clickable URLs, and on my systems, opens them with
konqueror of all things. But guess that's good enough.
2020-05-08 17:01:12 +02:00
Arseniy Lartsev
c234b8e494
Aded more paranoid null checks
2020-05-07 21:44:45 +02:00
Arseniy Lartsev
142b42e3f2
Fixed glitches when getting messaged by someone new (untested)
...
When a new user adds us to their contact list, we get their information,
their online status and their first message before we know their phone
number. Correctly handle this situation and add them to contact list
after a message is received and their phone number becomes known.
2020-05-05 20:19:40 +02:00
Arseniy Lartsev
aea4305867
Collected all phone-number-related functions in one place
2020-05-04 17:32:33 +02:00
Arseniy Lartsev
5b0bacda99
Completely finished adding contacts
2020-05-04 17:16:13 +02:00
Arseniy Lartsev
00cef86071
Revert "Prevent contact duplication in some theoretical situation"
...
This reverts commit d50c766562bb55f2fe11de8b13469bc865455851.
2020-05-04 16:20:47 +02:00
Arseniy Lartsev
d50c766562
Prevent contact duplication in some theoretical situation
...
In any case, make sure to equate phone numbers with and without leading
plus
2020-05-04 16:20:43 +02:00
Arseniy Lartsev
22e18cd8ec
Refactored adding/renaming libpurple buddies at login
...
Same function could now be called for post-login updates, though there
does not seem to be any need for that at the moment
2020-05-04 14:08:57 +02:00
Arseniy Lartsev
3c835bb06f
Replaced all function-specific idle callbacks with straight calls
...
Everything outside of TdTransceiver is now single-threaded, so there is
no longer any need for these idle callbacks
2020-05-02 13:40:48 +02:00