Commit Graph

1583 Commits

Author SHA1 Message Date
levlam
4a28b98022 Pass promise to add_pending_channel_update. 2020-12-25 00:20:21 +03:00
levlam
3dbc996acc Postpone pts updates, which can't be applied right now. 2020-12-24 23:32:32 +03:00
levlam
4ea10b3de6 Pass promise to MessagesManager::add_pending_update. 2020-12-24 21:56:15 +03:00
levlam
7d73126506 Add success promise to on_get_updates. 2020-12-21 22:06:52 +03:00
levlam
f11877f6ed Remove null messages from search-like request responses. 2020-12-20 14:08:11 +03:00
levlam
bbde4f32c6 Allow to specify emoji for sent stickers. 2020-12-19 14:31:42 +03:00
levlam
8dd4fe3166 Separately apply versioned and unversioned group call updates. 2020-12-18 16:23:49 +03:00
levlam
e856788f52 Reload group call when chat is opened. 2020-12-17 18:38:27 +03:00
levlam
2a50685321 Add separate GroupCallManager::on_update_group_call_rights method. 2020-12-17 18:27:01 +03:00
levlam
415a64ff24 Allow loading channel participants without bot info. 2020-12-16 17:43:34 +03:00
levlam
d165a87b73 Reload group call if rights has changed. 2020-12-16 16:38:06 +03:00
levlam
babd4dc35d Add source to on_update_dialog_group_call. 2020-12-15 19:25:07 +03:00
levlam
adca19d4da Fix group call version initialization. 2020-12-15 15:40:52 +03:00
levlam
6ca15f18c8 Move voice chat-related fields to Dialog. 2020-12-14 00:36:44 +03:00
levlam
6fdf68bad4 Store DialogId in information about group call. 2020-12-13 14:52:07 +03:00
levlam
07735c27e8 Add related to voice chats chat log event actions. 2020-12-08 20:02:12 +03:00
levlam
707f83e755 Add voice_chat_changes chat log event filter. 2020-12-08 18:42:31 +03:00
levlam
5c832cb361 Update layer 122. 2020-12-08 02:06:20 +03:00
levlam
6af2f71ddd Get unknown speaking users from the server by their user_id. 2020-12-07 00:38:23 +03:00
levlam
91d4b57713 Add recent group call speakers. 2020-12-06 10:40:26 +03:00
levlam
fcbc9915bd Try not to update twice message interaction info. 2020-12-05 16:23:22 +03:00
levlam
ce4054c5d4 Add messageGroupCall and messageInviteToGroupCall. 2020-11-24 14:33:16 +03:00
levlam
ea6cdde0c5 Fix MSVC 15.3 CE. 2020-11-20 02:03:39 +03:00
levlam
74a960aca1 Allow zero sender in searchChatMessages. 2020-11-19 14:55:09 +03:00
levlam
ea8c57fea3 Fix canceling chat actions on timeout. 2020-11-09 12:33:40 +03:00
levlam
60edadab90 Automatically group forwarded documents and music files. 2020-11-08 00:40:12 +03:00
levlam
0713c913de Remove now unneeded postponed_get_message_requests_. 2020-11-08 00:40:12 +03:00
levlam
00382f825b Get channel difference if it is needed to add messages. 2020-11-08 00:40:12 +03:00
levlam
ed25a03dda Get channel difference before adding discussion message if needed. 2020-11-08 00:40:12 +03:00
levlam
260c15e3e9 Add process_discussion_message method. 2020-11-08 00:40:12 +03:00
levlam
8f623e8be7 Add early check for another active channel difference. 2020-11-08 00:40:12 +03:00
levlam
cb06833eb1 Reload full dialog info with a small delay. 2020-11-08 00:40:06 +03:00
levlam
da1f073e22 Forward messages in two passes. 2020-11-06 16:00:56 +03:00
Sergey Polovko
645052bec7
Implement hash function for MessageContentType enum. (#1283) 2020-11-06 02:05:15 +03:00
levlam
254823d602 Fix search inside message threads. 2020-11-05 17:46:47 +03:00
levlam
c1de6a7d8d Minor improvements.
GitOrigin-RevId: eb8b201d80405feb6972b2eabc7de30d40aa8b81
2020-11-02 00:43:57 +03:00
levlam
301c8b167f Allow passing outdated yet unsent message identifier to getRepliedMessage.
GitOrigin-RevId: b24c47456a3716022de52fe030245e048ff5d053
2020-11-01 23:24:29 +03:00
levlam
ab5484fd78 Improve logging.
GitOrigin-RevId: 2d3e19395b48d4c6c330a852d559b537ff363b4e
2020-11-01 23:22:42 +03:00
levlam
ed0bf2c1b3 Ignore failed to load chats in getChatFilter.
GitOrigin-RevId: 5c1871080e56576f402917e1ecfbf0c99da0deba
2020-10-31 16:43:26 +03:00
levlam
e27385e9b8 Fix discussion message usage.
GitOrigin-RevId: 52f7c267b29589c751a2acfc5f74dce9950dc801
2020-10-31 15:19:36 +03:00
levlam
38d2fb8e94 Improve updates order.
GitOrigin-RevId: 5a88973c364be4630a7923190958cda47c697678
2020-10-31 14:55:44 +03:00
levlam
ca3315ba06 Add MessagesManager::update_reply_count_by_message and update reply_count on message deletion.
GitOrigin-RevId: 2746c056ae021053587c8b16b50a92ed126f89da
2020-10-31 13:55:53 +03:00
levlam
dd12a34656 Simplify set_dialog_last_pinned_message_id usage.
GitOrigin-RevId: 62c3e3e8b5bd0260bc059ba92b6bc400bb9b3eda
2020-10-31 13:13:31 +03:00
levlam
a4a28c511b Move logging from ERROR to WARNING.
GitOrigin-RevId: f46e811f84315f014625ea532459fa714432a884
2020-10-31 11:58:06 +03:00
levlam
ed24ba28df Update last pinned message ID after receiving pinned message search results.
GitOrigin-RevId: 5847782e855561c3f17b8f2a3d3a3feb3fc096d9
2020-10-30 18:50:45 +03:00
levlam
e97d547edf Add author_signature to message forward origin.
GitOrigin-RevId: df1046ec0a30e2ccf43867d6dcc4558b0212c0c6
2020-10-30 18:24:17 +03:00
levlam
e8d97ebbcd Apply users and chats from channels.getDifference before creating the dialog.
GitOrigin-RevId: 5ee65a1b7c199daf38d94a7d93b8adfb6532703d
2020-10-30 18:09:57 +03:00
levlam
f42532e9ed Fix CHECK.
GitOrigin-RevId: b6b51f3e78f2f6c8e8a60df6f862ee3ef647e66a
2020-10-30 16:21:34 +03:00
levlam
6f4c4adcc8 Improve field names.
GitOrigin-RevId: ded67301be27af1f3b7c8f7e11b2172bb92934c7
2020-10-30 15:51:20 +03:00
levlam
86c80e652e Improve field names.
GitOrigin-RevId: 3c30190dc75bd5dc812078f33bbf9dcaaeba1a1a
2020-10-29 22:25:58 +03:00