Commit Graph

723 Commits

Author SHA1 Message Date
levlam
5dc5b473ea Fix cache update in GetChatInviteImportersQuery. 2021-11-29 15:09:13 +03:00
levlam
25baedaa34 Move dismiss_suggested_action to SuggestedAction.cpp. 2021-11-26 14:48:43 +03:00
levlam
c49c5954ed Immediately drop User.is_changed flags after usage. 2021-11-25 14:18:06 +03:00
levlam
36d4de747f Move website authorization functions to Account.cpp. 2021-11-16 13:13:06 +03:00
levlam
c64cc8ad26 Move account-related methods to Account.cpp. 2021-11-16 13:02:07 +03:00
levlam
922fd9b17b Pass chat member status as DialogParticipantStatus. 2021-11-15 17:57:00 +03:00
levlam
5987ca69ff Move get_message_sender_dialog_id to MessageSender.cpp. 2021-11-15 12:07:52 +03:00
levlam
a56c34c4dd Move get_message_sender_object to MessageSender.cpp. 2021-11-15 01:18:47 +03:00
levlam
c29b096e79 Move logic out of ImportContactsQuery. 2021-11-12 07:37:53 +03:00
levlam
8db8f170f1 Add do_import_contacts. 2021-11-11 21:57:09 +03:00
levlam
9f5a1567f0 Ignore CHANNEL_PRIVATE errors for GetChannelDifferenceQuery after restart. 2021-11-08 17:24:27 +03:00
levlam
b0eca77c9a Improve logging. 2021-11-08 17:11:35 +03:00
levlam
6de2763fac Remove duplicate logging before net queries. 2021-11-08 16:41:16 +03:00
levlam
616b0e6d6f Improve ResultHandler/NetActor td_ private field name. 2021-11-08 15:20:38 +03:00
levlam
5578ecc6b8 Remove NetQuery id from ResultHandler and NetActor. 2021-11-08 14:19:57 +03:00
levlam
1bd9e0f622 Fix editChatInviteLink. 2021-11-07 04:18:41 +03:00
levlam
8bc413742d Simplify field name. 2021-11-04 13:13:52 +03:00
levlam
47f3363ca8 Improve field names. 2021-11-04 09:52:27 +03:00
levlam
d732789cac Disallow member_limit for links requiring administrator approval. 2021-11-02 17:21:36 +03:00
levlam
5a596fcc48 Reuse chatJoinRequest class. 2021-11-02 17:09:54 +03:00
levlam
6ab91f2712 Update chat join request after GetChatJoinRequestsQuery. 2021-11-01 23:03:41 +03:00
levlam
0c1e268706 Don't generate MASK for parsed True fields. 2021-11-01 21:53:23 +03:00
levlam
4533f79338 Don't generate MASK for parsed object/vector fields. 2021-11-01 20:48:06 +03:00
levlam
39b5db357e Add updateNewChatJoinRequest. 2021-10-28 22:49:56 +03:00
levlam
97243b53e4 Allow to create and edit chat invite links with title. 2021-10-27 13:04:34 +03:00
levlam
8d458f3038 Add chatJoinRequestsInfo with user identifiers. 2021-10-26 20:51:06 +03:00
levlam
34d77c7feb Fix drop of pending_join_request_count. 2021-10-14 00:34:28 +03:00
levlam
0a9f6b1c91 Add approve/declineCjatJoinRequest. 2021-10-13 23:10:47 +03:00
levlam
1a7f4b4d3e Add td_api::getChatJoinRequests. 2021-10-13 22:33:31 +03:00
levlam
d6502458f5 Allow to get option "is_location_visible". 2021-10-12 22:05:14 +03:00
levlam
250e593e3e Add comment. 2021-10-12 20:05:36 +03:00
levlam
0f6247f856 Nullify pending_join_request_count if have no enough rights. 2021-10-12 19:39:03 +03:00
levlam
e49ae700b6 Add chat.pending_join_request_count. 2021-10-12 18:11:17 +03:00
levlam
a4aa509308 Add requested_ flag check. 2021-10-09 16:53:29 +03:00
levlam
64d572bcbe Allow creation and edit of invite links, requiring approval. 2021-10-09 14:20:48 +03:00
levlam
5d9a224386 Add chatInviteLinkMember.approver_user_id. 2021-10-09 13:51:37 +03:00
levlam
63d86176f2 Add chatInviteLinkInfo.description/requires_approval. 2021-10-09 13:19:38 +03:00
levlam
23775700ac Update layer to 134. 2021-10-08 13:45:10 +03:00
levlam
05b59cc63b Improve DialogParticipant field names. 2021-10-29 14:39:07 +03:00
levlam
393598314a Simplify search_private_chat_participants. 2021-10-23 23:37:23 +03:00
levlam
ed45735de4 Add DialogParticipant::private_member. 2021-10-23 23:22:54 +03:00
levlam
7d4442347d Add DialogParticipantsFilter::is_dialog_participant_suitable. 2021-10-23 22:32:11 +03:00
levlam
1c59f37ca9 Move some methods inside DialogParticipantsFilter class. 2021-10-23 22:23:59 +03:00
levlam
47d4c08de2 Improve field names style. 2021-10-23 21:56:37 +03:00
levlam
c24501f2d9 Reduce "this" usages. 2021-10-23 21:17:00 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
f35afe23c8 Minor warning fixes. 2021-10-18 12:57:13 +03:00
levlam
3abac23287 Fix file_reference repair for ChatFull/ChannelFull photos. 2021-10-16 23:37:02 +03:00
levlam
0fa991599e Add filter name to log. 2021-10-16 22:14:48 +03:00
levlam
7832b354a8 Imptove logging. 2021-10-12 11:30:41 +03:00