Commit Graph

824 Commits

Author SHA1 Message Date
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
1a291847d7 Improve get_message_sender_dialog_id. 2021-11-15 13:31:07 +03:00
levlam
5987ca69ff Move get_message_sender_dialog_id to MessageSender.cpp. 2021-11-15 12:07:52 +03:00
levlam
85c30e5dd2 Add check that RequestHandler sends at most one request. 2021-11-12 14:47:51 +03:00
levlam
4762983803 Inline Td::send. 2021-11-12 14:39:04 +03:00
levlam
b731414d42 Init some fields just in case. 2021-11-11 17:39:09 +03:00
levlam
6238f0fc89 Minor improvements. 2021-11-10 21:09:28 +03:00
levlam
a3e9a0be1f Move get_dialog_event_log to separate file. 2021-11-09 16:54:49 +03:00
levlam
b0eca77c9a Improve logging. 2021-11-08 17:11:35 +03:00
levlam
2f1821a6c4 Improve RequestActor td_ private field name. 2021-11-08 15:26:22 +03:00
levlam
616b0e6d6f Improve ResultHandler/NetActor td_ private field name. 2021-11-08 15:20:38 +03:00
levlam
776635e8c5 Simplify result handling. 2021-11-08 14:35:40 +03:00
levlam
5578ecc6b8 Remove NetQuery id from ResultHandler and NetActor. 2021-11-08 14:19:57 +03:00
levlam
47f3363ca8 Improve field names. 2021-11-04 09:52:27 +03:00
levlam
3d827b408f Allow to set "utc_time_offset" option. 2021-11-01 22:42:33 +03:00
levlam
88d7b284b4 Add utc_time_offset option. 2021-11-01 22:32:49 +03:00
levlam
0c1e268706 Don't generate MASK for parsed True fields. 2021-11-01 21:53:23 +03:00
levlam
13c76b349d Add td_api::getChatMessageCalendar. 2021-10-30 03:34:49 +03:00
levlam
97243b53e4 Allow to create and edit chat invite links with title. 2021-10-27 13:04:34 +03:00
levlam
6893c49be7 Add td_api::getAnimatedEmoji. 2021-10-26 17:59:15 +03:00
levlam
d019d89d39 Add td_api::deleteChatMessagesByDate. 2021-10-25 20:39:22 +03:00
levlam
cf77428fab Add td_api::getChatSparseMessagePositions. 2021-10-15 17:40:30 +03:00
levlam
c69293e1cc Rename voice chats to video chats. 2021-10-14 15:44:21 +03:00
levlam
cbca467991 Adjust dimensions of animated emojis. 2021-10-14 00:18:44 +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
64d572bcbe Allow creation and edit of invite links, requiring approval. 2021-10-09 14:20:48 +03:00
levlam
038abf5466 Add sound to messageAnimatedEmoji. 2021-10-05 23:20:49 +03:00
levlam
eb20f82730 Add disable_animated_emoji option. 2021-10-05 17:17:29 +03:00
levlam
d9607b4a46 Use send_closure for Td::close()/destroy() to ensure the correct call order. 2021-10-25 06:47:20 +03:00
levlam
1c59f37ca9 Move some methods inside DialogParticipantsFilter class. 2021-10-23 22:23:59 +03:00
levlam
0c1469f7c6 Fix TransparentProxy::Callback. 2021-10-22 19:59:15 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
628a490e2a Use request promise in getBlockedMessageSenders. 2021-10-09 22:05:23 +03:00
levlam
4c803a1a75 Remove uneeded third try in getWebPageInstantView. 2021-10-07 13:00:41 +03:00
levlam
2f4524a949 Return WebPageId through promise. 2021-10-07 12:49:46 +03:00
levlam
557c5d1d4c Use request promise in searchChatRecentLocationMessages. 2021-10-06 14:22:42 +03:00
levlam
11af0a058d Add source to get_message_object. 2021-10-03 14:54:40 +03:00
levlam
49ab7cd53a Use messages.getSearchCounters. 2021-10-03 13:47:50 +03:00
levlam
0455b313b3 Improve testNetwork implementation. 2021-10-02 16:54:01 +03:00
levlam
d1532ef1f8 Improve result handlers storage. 2021-10-02 14:39:20 +03:00
levlam
4f9b35ea72 Use get_contact in importContacts and changeImportedContacts. 2021-09-30 14:18:01 +03:00
levlam
44efa70789 Pass Contact to add_contact. 2021-09-30 13:53:16 +03:00
levlam
665ae9434e Use error code 400 in Td.cpp. 2021-09-29 19:19:24 +03:00
levlam
888bd7988c Add warning on failed to open database. 2021-09-29 17:15:36 +03:00
levlam
90c0f18507 Send authorizationStateClosing when closing before initialization. 2021-09-29 15:41:53 +03:00