levlam
|
b191c0e3f9
|
Support editing of scheduled messages.
GitOrigin-RevId: 5c288fcd12e06d13520b7baeb0aeec5acd01da38
|
2019-12-03 20:26:09 +03:00 |
|
levlam
|
f5027bf97f
|
Add td_api::editMessageSchedulingState.
GitOrigin-RevId: 193c66fa63e84a8a233a3d60f0593df591d9f80d
|
2019-12-03 04:36:23 +03:00 |
|
levlam
|
256ab1c2f7
|
Add MessagesManager::get_message_sending_state_object function.
GitOrigin-RevId: 36300a157d085f96afe9dd62b865b952ba38d042
|
2019-12-03 03:20:38 +03:00 |
|
levlam
|
aa01368b38
|
Add Message.scheduling_state.
GitOrigin-RevId: fd950850b1258f49f8272e99a0b4975ab11a38d6
|
2019-12-03 03:12:41 +03:00 |
|
levlam
|
a7769488ac
|
Make two functions private.
GitOrigin-RevId: f4b5c7142586017f1134df1d36a4eb0310cc9216
|
2019-12-03 02:30:50 +03:00 |
|
levlam
|
f3dfaa6c29
|
Support scheduled message in MessageId::get_next_message_id. Add get_next_yet_unsent_scheduled_message_id.
GitOrigin-RevId: dfe0c0b13c6312525564eba9f10f390f5ad09778
|
2019-12-02 23:29:08 +03:00 |
|
levlam
|
57eb92060b
|
Fixes for scheduled messages.
GitOrigin-RevId: 23bc0e408567366d21ba2f0f7be80983b6d92a15
|
2019-12-02 20:50:10 +03:00 |
|
levlam
|
bfd3d653a7
|
Support updateDeleteScheduledMessages.
GitOrigin-RevId: 9f2d0cf00a3e6ffe20c1b0834cad69fbb0861ad7
|
2019-12-02 19:20:54 +03:00 |
|
levlam
|
80d814e2ee
|
Support rescheduling in add_scheduled_message_to_dialog.
GitOrigin-RevId: 0e914bcf3d06f1b1df6f4f7858086c41216e529c
|
2019-12-02 18:22:05 +03:00 |
|
levlam
|
b13213f9cb
|
Add is_scheduled parameter to on_get_messages.
GitOrigin-RevId: 534179758c55494fce0005d8aceaa74a2c3d7247
|
2019-12-02 00:11:15 +03:00 |
|
levlam
|
9b7d248518
|
Store scheduled message date by their server message ID.
GitOrigin-RevId: de3ea20ea659ce9cf620e7223375937c494699a1
|
2019-12-01 20:50:52 +03:00 |
|
levlam
|
fb43213362
|
Add DeleteScheduledMessagesQuery.
GitOrigin-RevId: 958627be18ef34e89e2845d5e4fd095dbd4a66c4
|
2019-11-30 22:13:41 +03:00 |
|
levlam
|
af04f95daa
|
Add separate reget_message_from_server_if_needed function.
GitOrigin-RevId: 18b0a4f38ac429890832851370ff6371f6496ff1
|
2019-11-30 20:22:44 +03:00 |
|
levlam
|
7ea11b2150
|
Add separate update_sent_message_contents function.
GitOrigin-RevId: 621fd837d722355a6e5a392b3de390f6bc0839ba
|
2019-11-30 20:04:49 +03:00 |
|
levlam
|
10c743a839
|
Add separate speculatively_update_channel_participants function.
GitOrigin-RevId: 73cb67adffb5488686e181d460640e0682e418e3
|
2019-11-30 19:41:23 +03:00 |
|
levlam
|
0c2c587f8c
|
Add update_top_dialogs function.
GitOrigin-RevId: c5ea2e50e47693d37cb9e2d7dfea6176a2afed43
|
2019-11-30 19:29:52 +03:00 |
|
levlam
|
8d8c3cacd4
|
Add change_message_files function.
GitOrigin-RevId: 3b6faf4c55cb11281ef98afc32534fb221716c1b
|
2019-11-30 18:17:34 +03:00 |
|
levlam
|
415229bfa6
|
Pass only dialog_id to need_delete_message_files.
GitOrigin-RevId: e5396f6bcaea435dca161d0cd47addfca42bfb79
|
2019-11-30 18:05:30 +03:00 |
|
levlam
|
a69c9a0f06
|
Simplify update_message usage.
GitOrigin-RevId: e4266a80dc4108053d293b5779fdf04d4988116d
|
2019-11-30 17:38:46 +03:00 |
|
levlam
|
40d13deeaa
|
Store scheduled messages in a separate treap.
GitOrigin-RevId: dc56897b3faa45e5092d036bbb73f357a6e4c607
|
2019-11-30 17:04:59 +03:00 |
|
levlam
|
d9160fd52c
|
Add treap_delete_message static function.
GitOrigin-RevId: 36433ee3bd262a791a916ee6b0f3207346894193
|
2019-11-29 20:30:55 +03:00 |
|
levlam
|
fdc81d6d9b
|
Improve spelling.
GitOrigin-RevId: c52f49b8637f641b0781f0af640c8e03a4fed121
|
2019-11-29 19:24:45 +03:00 |
|
levlam
|
3b1ab2ff8f
|
Add scheduled-safe MessageId comparison operators.
GitOrigin-RevId: edc6481519510a425bcf3f08bb46eaac1c923ee4
|
2019-11-29 19:11:06 +03:00 |
|
levlam
|
0c77eb2745
|
Pass raw pointers in find_*.
GitOrigin-RevId: 1f62c94647d861e2ff828c64391badd76c8e1ec9
|
2019-11-29 16:16:02 +03:00 |
|
levlam
|
1a636768b9
|
Add cancel_send_deleted_message function.
GitOrigin-RevId: 64f33bc1540da85a4c2c81ca28d8f4e1849dd9fb
|
2019-11-29 15:52:18 +03:00 |
|
levlam
|
c65004efde
|
Padd Message pointer to cancel_send_message_query.
GitOrigin-RevId: 2e56372571b970d8549f5a8b9223218f1ffa9244
|
2019-11-29 15:30:48 +03:00 |
|
levlam
|
9948e41aed
|
Add support for scheduled message IDs in MessagesManager.
GitOrigin-RevId: b489f50556450a142427159a80d6488bf36622d1
|
2019-11-29 15:03:03 +03:00 |
|
levlam
|
0618005a95
|
Add FullMessageId.h.
GitOrigin-RevId: 758133149ff3317b3d9d3f86b1a841e8f34ca35a
|
2019-11-26 19:53:10 +03:00 |
|
levlam
|
099e767b6b
|
Add ServerMessageId.h.
GitOrigin-RevId: f71d1f41f84c2263890875271f47f938e792aa55
|
2019-11-26 19:33:18 +03:00 |
|
levlam
|
9da6ecaf1f
|
Make MessageId layout private.
GitOrigin-RevId: a123b1bd7fe02110e699878c6c60dcc41b90c960
|
2019-11-26 03:32:05 +03:00 |
|
levlam
|
5b1d363918
|
Add Chat.has_scheduled_messages flag.
GitOrigin-RevId: 6d7f211647c738d5912476232e8842c245d1f884
|
2019-11-25 19:11:24 +03:00 |
|
levlam
|
2a335089f9
|
Save is_from_scheduled Message flag.
GitOrigin-RevId: 6db9c1a244f275372fddd74977fdce37e8ffad35
|
2019-11-25 03:36:49 +03:00 |
|
levlam
|
df2b273aea
|
Add td_api::message.restriction_reason.
GitOrigin-RevId: 9ecf89e3f14ed64d6ce5bd33aed97e03feae794a
|
2019-11-24 02:28:48 +03:00 |
|
levlam
|
b00293992e
|
Fix hide_edit_date support.
GitOrigin-RevId: a6875a31b618f527883e8bc205efe8ac96f683b9
|
2019-11-22 14:02:18 +03:00 |
|
levlam
|
8b0f0cdaf6
|
Add support for hiding message edit date via server-side flag.
GitOrigin-RevId: 675035e0b7d087da9ec76c2e104fb8ba23f07c18
|
2019-11-22 00:02:09 +03:00 |
|
levlam
|
43d8e6ccdb
|
Return administrator ranks from getChatAdministrators.
GitOrigin-RevId: 8e3e540ae73aebacf9a3fe954b2b81511c999953
|
2019-11-11 19:14:32 +03:00 |
|
levlam
|
ca35608868
|
Add chat_list filter to searchMessages.
GitOrigin-RevId: 3dbc4b3509545f3c23f0231c931af0a73bef8796
|
2019-10-22 15:06:11 +03:00 |
|
levlam
|
4ae36f6564
|
Keep privacy exception flag when hiding action bar and reporting spam.
GitOrigin-RevId: 64c21e3ca52bf74b19b7ee40bee6c9218a6feb70
|
2019-10-17 20:55:55 +03:00 |
|
levlam
|
4e9ca731b2
|
Allow to create location-based chats through createNewSupergroupChat.
GitOrigin-RevId: 9f954674052a2710425555e9b517f06319eb949e
|
2019-10-14 17:51:12 +03:00 |
|
levlam
|
a3126dcce5
|
Add td_api::sharePhoneNumber.
GitOrigin-RevId: 522cee62cab40378802fbb5352f9d06ee2709a03
|
2019-10-11 17:59:04 +03:00 |
|
levlam
|
7327b673de
|
Support action bar report in reportChat.
GitOrigin-RevId: 2c85ca043c9615a27c1bdf46b7fd01ed98940699
|
2019-10-11 04:17:46 +03:00 |
|
levlam
|
378ed2c659
|
Remove ChatReportSpamState and methods for it.
GitOrigin-RevId: 3de0cb0147ad70e4d540f5a61f1aa08c64423edd
|
2019-10-11 03:36:26 +03:00 |
|
levlam
|
825cb0dd0b
|
Add removeChatActionBar.
GitOrigin-RevId: 865c60b541cdfdc1465ab4814e1ca8c2c9ff0c49
|
2019-10-11 03:28:41 +03:00 |
|
levlam
|
62db4169a2
|
Update action bar when user is deleted.
GitOrigin-RevId: 1c31884369b944f79b2772e0142ce95a08ebafc1
|
2019-10-11 03:11:22 +03:00 |
|
levlam
|
9d229b7ad1
|
Update action bar when user is added to contacts.
GitOrigin-RevId: 52883ca7e29a3f1b9fe86a7cb210daba5c8cef46
|
2019-10-11 02:59:40 +03:00 |
|
levlam
|
d17a1734a4
|
Add repair_dialog_action_bar.
GitOrigin-RevId: 4157f18ad20ff09807b59433d86bce04b676fdf2
|
2019-10-11 02:32:25 +03:00 |
|
levlam
|
56af9f3f3c
|
Add updateChatActionBar.
GitOrigin-RevId: 116120e198e0c12c3e91f1dea4045ae3bc914e1c
|
2019-10-11 01:23:28 +03:00 |
|
levlam
|
24ecd9564e
|
Hide action bar when the user is blocked.
GitOrigin-RevId: 2c317e3612555f496da0b6f2f55f1de60f62cd57
|
2019-10-11 00:46:05 +03:00 |
|
levlam
|
1b147a8142
|
Add Chat.action_bar.
GitOrigin-RevId: 4429f6d77af0686dd2c890423a4667a5251f0bff
|
2019-10-10 23:19:26 +03:00 |
|
levlam
|
003aee4268
|
Use data from the database for max_dialog_date.
GitOrigin-RevId: a1dc2d8ecf64a68209637bb1ce0d16a8b661770c
|
2019-09-15 04:15:46 +03:00 |
|
levlam
|
1f22f9e0b7
|
Add support for LoginUrl buttons handling.
GitOrigin-RevId: 3b53d50a6619743830e065f34946869e56f94bcb
|
2019-09-07 02:07:56 +03:00 |
|
levlam
|
779fbb6d83
|
Update to layer 100. Add td_api::userPrivacySettingShowPhoneNumber and td_api::topChatCategoryForwardChats.
GitOrigin-RevId: 96fd17d9fef8e08b4415ec0d8e13e6cdb37f589b
|
2019-09-03 17:13:03 +03:00 |
|
levlam
|
a520a897a0
|
Use pts to apply channel unread_count.
GitOrigin-RevId: fd3f5515aec0a7504f1dd6a32aeeafd4c69c0e42
|
2019-08-28 00:27:12 +03:00 |
|
levlam
|
6dd224ab55
|
Pass pts to on_read_channel_inbox.
GitOrigin-RevId: ecfc1333caf77209d388430c4c23bef30e55ca6e
|
2019-08-27 18:32:39 +03:00 |
|
levlam
|
0aa0a3b967
|
Add td_api::setChatChatList.
GitOrigin-RevId: 42340bc1ce169eadc73d6f29a06f6e87b70fe948
|
2019-08-27 17:23:01 +03:00 |
|
levlam
|
c1afa189f3
|
Support multiple chat lists.
GitOrigin-RevId: 8adecce0ddf36bb2408eecc19b7f1fc8856151fc
|
2019-08-22 18:24:02 +03:00 |
|
levlam
|
7c8cda75a2
|
Add get_dialog_public_order method.
GitOrigin-RevId: c9e17257409c74de85e00ebb5331f88a023d70d0
|
2019-08-20 20:25:38 +03:00 |
|
levlam
|
936a84c025
|
Update to layer 99. Add support for ChatListType.
GitOrigin-RevId: fdd5de60e479fa9a72975bee8e3cb911f390ec01
|
2019-08-19 04:51:03 +03:00 |
|
levlam
|
ac60ef4c5a
|
Do not allow recursive call to set_dialog_pinned_message_notification.
GitOrigin-RevId: 91db05f21ec2feb322efa9c9be5aa76b9f49ad3f
|
2019-10-23 21:53:26 +03:00 |
|
levlam
|
ee87414bab
|
Fix misprints.
GitOrigin-RevId: e21e784c076005538ee889a61b12b8876567da13
|
2019-10-19 21:20:16 +03:00 |
|
levlam
|
c597cfd121
|
Delete pending notifications in remove_all_dialog_notifications and remove_message_dialog_notifications.
GitOrigin-RevId: 913c5accbe16d6a1f455eb2db67c0453fcde6e7a
|
2019-10-18 17:21:00 +03:00 |
|
levlam
|
066407d7dd
|
Pass from_mentions instead of NotificationGroup to remove_all_dialog_notifications.
GitOrigin-RevId: bd7d084bdf6cbfe0dacfc40e7d51d6fc8a8eac18
|
2019-10-18 17:02:34 +03:00 |
|
levlam
|
dcfa6d1ea6
|
Improve logging on failed CHECK.
GitOrigin-RevId: 34a9fdad6499503edca51c4c3136731d2c8acb8a
|
2019-10-03 23:23:38 +03:00 |
|
levlam
|
abb140a714
|
Minor improvements.
GitOrigin-RevId: a50ba2cc0b47b395d7d7787ad59868d23bf22634
|
2019-09-08 03:49:16 +03:00 |
|
levlam
|
331a48a898
|
Fix order of updates applying in secret chats.
GitOrigin-RevId: 3cf1c152c4faf21bc3d1f6cb58fcbce6417623ef
|
2019-09-04 21:29:27 +03:00 |
|
levlam
|
b9ee9d0cf0
|
Use send_closure_later in timeout_callback just in case.
GitOrigin-RevId: ee1cee46052af875886477583cfc859503e73bcc
|
2019-08-29 03:16:49 +03:00 |
|
levlam
|
607f99e40d
|
Fix sending games via bot.
GitOrigin-RevId: 41f71dba07c0d441660650a0f8a01c3f4a94d778
|
2019-08-28 03:01:15 +03:00 |
|
levlam
|
25d4e27b3d
|
Add persistent real_forward_from_message_id.
GitOrigin-RevId: a1272a710019de980f3b678256fd82f3c7b83242
|
2019-08-16 02:50:22 +03:00 |
|
levlam
|
9007f106b9
|
Update layer 98. Support for legacy messages flag.
GitOrigin-RevId: b10c8b60b7fbdfdbf8ab15e65ed32f1daa6c9ad2
|
2019-08-15 18:16:09 +03:00 |
|
levlam
|
378b1df843
|
Add td_api::resendMessages.
GitOrigin-RevId: 41c14a76aaf05745592328909e47efd5feca2437
|
2019-08-11 04:05:00 +03:00 |
|
levlam
|
ee3921f959
|
Save real_forward_from_dialog_id between restarts.
GitOrigin-RevId: 3282a9f703ec8b9b8d6cccfb088cf5ceaad8202a
|
2019-08-11 03:20:16 +03:00 |
|
levlam
|
cbd4b2a8a4
|
Add MessagesManager::generate_new_media_album_id() method.
GitOrigin-RevId: 1a0c71404b09585f66728ea494a8bd920795664c
|
2019-08-11 02:10:21 +03:00 |
|
levlam
|
611878f098
|
Add is_bot_start_message flag.
GitOrigin-RevId: 02725fba5857f1e8212b998eaf3c33006382fddb
|
2019-08-11 01:23:34 +03:00 |
|
levlam
|
d7be30f658
|
Save hide_via_bot flag.
GitOrigin-RevId: 0bf270274f8bd85fa50b1126e4850cdb35dfc5a7
|
2019-08-11 01:10:01 +03:00 |
|
levlam
|
c045fce56a
|
Add information about failed to send messages.
GitOrigin-RevId: a4cb3669b5cf478a2e2f5ca1ecf2ea9c5f3ef5cc
|
2019-08-11 00:14:35 +03:00 |
|
levlam
|
3bca7b1448
|
Add send_copy to inputMessageForwarded.
GitOrigin-RevId: 7327021564789e8ff436e2f56f243684b7ce8183
|
2019-08-09 20:28:49 +03:00 |
|
levlam
|
c71dbc28a0
|
Add send_copy parameter to forwardMessages.
GitOrigin-RevId: 059f992cc8b9c6ae1c6ab3910ffc52b906d12e88
|
2019-08-09 17:41:26 +03:00 |
|
levlam
|
8059ac0472
|
Preload chats from database before applying updatePinnedDialogs.
GitOrigin-RevId: 0ebfa4ae3147e16ac7b9b7a812e23792b8a60871
|
2019-08-06 01:02:09 +03:00 |
|
levlam
|
5ca0a72ddf
|
Add td_api::getMessageLinkInfo.
GitOrigin-RevId: 34213fdada780b9bb8fe6a6db5a0de3be097b55c
|
2019-08-05 12:12:59 +03:00 |
|
levlam
|
00bf243f37
|
Fix get_chat_event_action_object.
GitOrigin-RevId: dc9796295dc5eb8d30ed2beb974005a9b8c2c3b3
|
2019-06-17 19:46:07 +03:00 |
|
levlam
|
11e9923e0a
|
Improve is_acceptable_message.
GitOrigin-RevId: 494c88118bcb8da8e2e8cb956efd28ced3b424b5
|
2019-06-17 04:25:33 +03:00 |
|
levlam
|
798ac5e3df
|
Consistently use m for Message *.
GitOrigin-RevId: 7cbcba0d72d5d8b0a95046f81ec5bf03f3c6e60e
|
2019-06-11 02:55:07 +03:00 |
|
levlam
|
8a6dcfe5f4
|
Better Message objects in chat event log.
GitOrigin-RevId: 4fc6a93e72646cabf07e05207c0aaf2ae7bf6420
|
2019-06-11 02:30:00 +03:00 |
|
levlam
|
7cd835f4fa
|
Update layer to 97. Support new privacies.
GitOrigin-RevId: d78d9e44557cd1ed77fc83c25986764c4547fb35
|
2019-05-14 03:18:34 +03:00 |
|
levlam
|
0184df07f3
|
Probably fix race in reusing notification group.
GitOrigin-RevId: d7359c1d22ad7aecead1844696915c3946c158dc
|
2019-05-04 01:03:10 +03:00 |
|
levlam
|
9b8a5438be
|
Add td_api::setChatPermissions.
GitOrigin-RevId: ce072b20283e5a1887bd94fea33ad4d0cb4ec5b9
|
2019-03-20 20:58:13 +03:00 |
|
levlam
|
454d8d3987
|
Add td_api::chatPermissions support.
GitOrigin-RevId: 38cc232035e54665e140772b13316c31ecc38df6
|
2019-03-20 15:28:06 +03:00 |
|
levlam
|
ed3e4b7d67
|
Add basic group description support.
GitOrigin-RevId: 030f1a2c149fd085f90a4153e7c76a6adb14e00c
|
2019-03-18 05:24:25 +03:00 |
|
levlam
|
b49e312389
|
Made need_delete_message_files const.
GitOrigin-RevId: b547551f6968766447e448c00c0bd65333316886
|
2019-04-29 06:21:43 +03:00 |
|
levlam
|
b78db4d902
|
Trying to keep files, needed for messages in other chats.
GitOrigin-RevId: 454f3143aec958a08ea35edecc808ef99eb795cf
|
2019-04-28 20:21:44 +03:00 |
|
levlam
|
b7490e626b
|
Add consistency checks for message deletion.
GitOrigin-RevId: 8d37c28f2bbf6c12821437a3670e64a03d841495
|
2019-04-28 17:07:27 +03:00 |
|
levlam
|
651172ed85
|
Add is_dark parameter to getChatStatisticsUrl.
GitOrigin-RevId: f2381e8df342efa288fa191df27a79a799f972e2
|
2019-04-20 20:49:21 +03:00 |
|
levlam
|
74ca960636
|
Add MessagesManager::need_delete_message_files.
GitOrigin-RevId: a80f3af30813063872adb791820205a66990640a
|
2019-04-20 16:41:32 +03:00 |
|
levlam
|
aa96b03908
|
Improve td_api::messageForwardInfo class.
GitOrigin-RevId: 6dd56fce26f9b04d62e205e02708706baddcd155
|
2019-04-15 05:14:41 +03:00 |
|
levlam
|
b1a1635ce7
|
Fix adding too new messages.
GitOrigin-RevId: 3874c25b07674608d8a4cef61cd4801ce6a5f115
|
2019-04-13 16:50:06 +03:00 |
|
levlam
|
af39698707
|
Add reply_markup to stopPoll.
GitOrigin-RevId: 08cf68d42ecc6c25cd8ec7146fb7e3b1856a7207
|
2019-04-12 02:10:33 +03:00 |
|
levlam
|
3afcaa67f8
|
Add more being_added_message_id debug.
GitOrigin-RevId: 248551b7fb837863e363d548c450e547353facef
|
2019-04-10 15:22:34 +03:00 |
|
levlam
|
48a15fb0d3
|
Rename getPrivateMessageLink to getMessageLink.
GitOrigin-RevId: ae6ec6b2bf9eb5926395bc2e1298b231e42d26c1
|
2019-04-08 04:50:26 +03:00 |
|
levlam
|
2082c09757
|
Add td_api::getPrivateMessageLink.
GitOrigin-RevId: b621bbe7aeed8b3c0e33bfcc3beb51826dc34ea8
|
2019-04-08 02:42:16 +03:00 |
|
levlam
|
8c4494203c
|
Erase all files in private chats, when corresponding message is deleted.
GitOrigin-RevId: 74304b39138fa36f707dab1540fedcf6d6ad4d0e
|
2019-04-08 00:28:45 +03:00 |
|