levlam
53b02b38aa
Remove notifications when dialog history is read.
...
GitOrigin-RevId: 014c6aae7a0f741882c785db2cefe440b9c8c676
2018-11-20 18:03:49 +03:00
levlam
a28ac39ecf
Fix some MessageDb usages.
...
GitOrigin-RevId: 90db1e1576dc86b179ae24175cd9a36e00e27647
2018-11-18 02:39:51 +03:00
levlam
a10de8fc9e
Better fix for unneded getDialog, getChannelDifference and getChannelFull queries.
...
GitOrigin-RevId: 74c6569ad38b74fb0d0c95a6a552a643c3b12244
2018-11-18 01:42:15 +03:00
levlam
fdd7987f0a
Fix preloading of just received in getDialogs dialogs.
...
GitOrigin-RevId: 0ff17a84046f76ede0ec4efda0707477b0ab9397
2018-11-18 00:24:19 +03:00
levlam
c5c3b8c95a
Implement updateNotification.
...
GitOrigin-RevId: 804e527cc2819e8fa6420d8a7ceea4ad6688a641
2018-11-16 18:00:46 +03:00
levlam
a86a9d2a00
Add support for updateNotificationGroup and delaying of updates.
...
GitOrigin-RevId: 28974259dcaf97d2ddc7b303c7609bd99b846089
2018-11-15 18:58:33 +03:00
levlam
d82e9b1b2c
Add last_notification_date to database.
...
GitOrigin-RevId: 1ae7310f0ec89a832e8081255c6cbca864c3ecc2
2018-11-12 17:44:42 +03:00
levlam
0ca9b6493d
Send to NotificationManager notifications about new/edited messages.
...
GitOrigin-RevId: 79647054a22e1376c8a69da180ba293300468ed6
2018-11-11 15:58:52 +03:00
levlam
9fa8186287
Add flags2 support to Message parser/storer.
...
GitOrigin-RevId: 3eed28718fd30c328b7c97a7897b4c92a8e43977
2018-11-09 15:49:54 +03:00
levlam
e59261ee10
Notification API draft.
...
GitOrigin-RevId: bda9cf7fb68f21529550c5087461940f02a01006
2018-11-08 21:00:03 +03:00
Arseny Smirnov
0575aa2983
DialogDb: last_notification_date
...
GitOrigin-RevId: d57526aa00fea63cc3efda091cfa9a1a89955065
2018-11-07 00:11:34 +03:00
levlam
a3049fa4b4
Add debug logging.
...
GitOrigin-RevId: 6f1bf40ff7388359a95f14584bc54780df67b30a
2018-11-08 14:00:30 +03:00
levlam
95ff033aae
Silence 401th error for ordinary users.
...
GitOrigin-RevId: 3a371adef8cfc50609a9320c43a0c8cf5d9dd403
2018-11-07 21:26:21 +03:00
levlam
34a26188c6
Disallow switch_inline_query in channels.
...
GitOrigin-RevId: ad18c78f9abf4114ae72229f1b2f863f13ccba7a
2018-11-05 14:29:43 +03:00
levlam
53ecae8b0a
Add dialog_id to on_load_dialog_from_database.
...
GitOrigin-RevId: 4c5d84b580ce716be7b14e2ea3a4321434dd97f9
2018-10-29 20:16:31 +03:00
levlam
ccd96d92f2
Fix option name.
...
GitOrigin-RevId: e7203a982032d7c9f2e53605e8a14a90b0f61d9f
2018-10-27 03:15:55 +03:00
levlam
b9cbd43e96
Add check for invalid DialogId in database.
...
GitOrigin-RevId: ac28b2afb276743fe203a25f53e0ff69e4e3e08d
2018-10-26 18:36:53 +03:00
levlam
5368c96a41
Add parse_message function.
...
GitOrigin-RevId: 8bada6f99333add3548317ccca2ca4b5c8bb2136
2018-10-25 18:00:49 +03:00
levlam
923cf40de6
Possibly fix random_id_to_message_id correspondence.
...
GitOrigin-RevId: 279fc911a03342796a2200b1edad5f27726be5fd
2018-10-24 22:53:31 +03:00
levlam
043602bfc2
Add {add,delete}_random_id_to_message_id_correspondence functions.
...
GitOrigin-RevId: 7701ea29659c355da408e97bf642529113e9d7ff
2018-10-24 22:49:50 +03:00
levlam
f571a79f13
Add more debug.
...
GitOrigin-RevId: 2c1b631964547b2b5ba9440bb41af1ae65d5b1cf
2018-10-24 22:15:32 +03:00
levlam
de72a4e811
Add debug.
...
GitOrigin-RevId: fe72382facc645f11584329c7dab827ad53cb8c0
2018-10-24 22:06:13 +03:00
levlam
3bd2eb547e
Add on_send_message_success debug.
...
GitOrigin-RevId: a2c4ae66baa7d0aa1b2b1a96771d06bb138822f2
2018-10-24 21:11:56 +03:00
levlam
92fbabbe1a
Fix call to get_channel_difference.
...
GitOrigin-RevId: 4594b60bbdceacded2f540ccc6a3c0d9fc5c16c6
2018-10-22 18:19:39 +03:00
levlam
00c5033386
Add more checks for message validness.
...
GitOrigin-RevId: 5bc63465eb68b305f9b60a3b73c9669386d045e6
2018-10-22 02:01:55 +03:00
levlam
776ab59c8d
Exclude sponsored chat from unread counts.
...
GitOrigin-RevId: 3bf1951938b6cf2c7f9a9e3b4c67554c8202f9fe
2018-10-14 02:51:35 +03:00
levlam
b7a779db3b
Add get_update_unread_*_count_object functions.
...
GitOrigin-RevId: 9f5c53acaad72ad7288882691232f7e7c85d8127
2018-10-09 17:12:10 +03:00
levlam
041896ab8d
Copy notification settings to newly created secret chat from private chat.
...
GitOrigin-RevId: 5c2e0a7eba59f41fcdbe70ab134299620250e907
2018-10-08 23:42:24 +03:00
levlam
f2298ce27d
Fix errors handling in some ResultHandlers.
...
GitOrigin-RevId: 5aa4c8b7d53fa55ed6a750e3815ff1337cb5ebcd
2018-10-08 22:18:44 +03:00
levlam
286c5040c1
Do not fail old messages sent to chat with self.
...
GitOrigin-RevId: eb88cd12fb29a32c6088c6284babe73a3ad71e01
2018-10-08 17:28:06 +03:00
levlam
2540555ae5
Remove source from get_my_id.
...
GitOrigin-RevId: 623c24323b55937866841c4b0f32b109c513983b
2018-10-08 17:21:56 +03:00
levlam
1b0c7d889d
Add MessagesManager::get_my_dialog_id.
...
GitOrigin-RevId: 2e1e88a171a5ad86186136ef2d6f49d725ce5d09
2018-10-08 17:13:09 +03:00
levlam
806e570a72
Add source to next_utf8_unsafe.
...
GitOrigin-RevId: e8e5a47096461c0e76a64eb26cb848651d4d61e8
2018-10-08 15:53:05 +03:00
levlam
a26266f336
Improve logging in send_update_new_message.
...
GitOrigin-RevId: abe4f4c0d1e1d515b01746ba4ef8129bef65083b
2018-10-08 01:00:34 +03:00
levlam
ab2255f9b1
Add MessagesManager::need_unread_counter.
...
GitOrigin-RevId: 10223c628cd69ec31dfc0d4bdb56078dab234354
2018-10-08 00:28:03 +03:00
levlam
e7b69c9419
Fix get_pinned_dialogs in presence of sponsored chat.
...
GitOrigin-RevId: 842d022a1c47856a724f476e4f27236487aee62b
2018-10-07 02:59:30 +03:00
levlam
cd2e596b50
More MessagesManager refactoring.
...
GitOrigin-RevId: b458c10b0a59704a07030fe4b8dd4891051cd52c
2018-10-02 02:40:34 +03:00
levlam
e07ab63768
Add save_*_logevent methods.
...
GitOrigin-RevId: 5043948638752fe85d327be5143e79c372438ec9
2018-10-02 02:01:17 +03:00
levlam
21ac4d41d1
Add MessagesManager::send_get_scope_notification_settings_query.
...
GitOrigin-RevId: d4bc141bb3d5e730427cc07df21d82461312db74
2018-10-02 01:30:03 +03:00
levlam
4d8a832b7d
Reduce more cpp source code interdependecies.
...
GitOrigin-RevId: e80ac4246299a5a3bf515977c24d281055fcadb6
2018-10-02 00:24:45 +03:00
levlam
b3a992a156
Remove unused class.
...
GitOrigin-RevId: 441411011e32e38115be51e7568d5ac50328d254
2018-10-01 19:35:21 +03:00
levlam
ad81123d60
Make CallsDbState private to MessagesManager.
...
GitOrigin-RevId: b1d4b01abff4a534765e3fc52b07db7bd9d07def
2018-10-01 01:34:06 +03:00
levlam
091d7143e3
Fix includes.
...
GitOrigin-RevId: 68b59141c12d6e24ddaf0fa48008bf58935bd818
2018-09-29 04:41:15 +03:00
levlam
79a613cf45
Move NotificationSettings to separate header.
...
GitOrigin-RevId: cb0c2e33a0a075dfea2b70ff671de8db0db36ca0
2018-09-29 03:29:57 +03:00
levlam
b6a8624c60
Move DraftMessage to separate files.
...
GitOrigin-RevId: acf4722d7c1328ee4048f8ca162060923e0be6fe
2018-09-29 02:45:43 +03:00
levlam
4cf6aba717
Move MessageContent and InputMessageText implementations to corresponding files.
...
GitOrigin-RevId: d308007a3c850f1969b64a08865787ee7b340b34
2018-09-28 23:57:34 +03:00
levlam
362fc331c7
Add get_message_content_deleted_user_id.
...
GitOrigin-RevId: fe1c4db7920238eb623d5557277472af93523ca1
2018-09-28 19:22:30 +03:00
levlam
58b724c5c0
Add get_message_content_pinned_message_id.
...
GitOrigin-RevId: ab4fcbe42fdcb177575cdc167a446ea6b334f331
2018-09-28 19:16:03 +03:00
levlam
6539fbcff6
Add get_message_content_new_participant_count.
...
GitOrigin-RevId: b4c884cdd8d947af3a5a8a3263da2b3bc547be4d
2018-09-28 19:07:14 +03:00
levlam
d5683ee224
Static create_text_message_content.
...
GitOrigin-RevId: 9def379214c944dce0d42c2fcf08198a49ea1db5
2018-09-28 18:48:03 +03:00
levlam
c061da558b
Make create_input_message_content static.
...
GitOrigin-RevId: ca85aeed0a712ddaff7f44d14f75d119f0feb3b0
2018-09-28 17:50:02 +03:00
levlam
09beaef806
Make process_input_message_text static.
...
GitOrigin-RevId: 3e7989ecb8ba90da7324748022ebc77b3ebc7660
2018-09-28 17:39:07 +03:00
levlam
12a21587ab
Add MessagesManager::get_input_caption.
...
GitOrigin-RevId: 4145fde2f54092c358c49fc891707186cca277f3
2018-09-28 17:21:05 +03:00
levlam
bfde2f0e32
Add MessagesManager::create_input_message_content.
...
GitOrigin-RevId: e230e6c6069777e05dde34230492981846064646
2018-09-28 16:59:29 +03:00
levlam
10e4f008b8
Return pointer from get_message_content_text.
...
GitOrigin-RevId: c1556ee6e58e13e574881585f889744c4be1d4a4
2018-09-28 05:09:28 +03:00
levlam
4451d8d2ed
Add add_message_content_dependencies.
...
GitOrigin-RevId: 10c2cafe4de13907cad62c7f5df55f008fffbc94
2018-09-28 04:29:55 +03:00
levlam
4597689060
Add Dependencies.h.
...
GitOrigin-RevId: 791b4dc804a8c0b734b027ff348b16bbfceede5c
2018-09-28 04:21:20 +03:00
levlam
144816b469
Add static {g,s}et_message_content_web_page_id.
...
GitOrigin-RevId: 98d95d47e0e1d01ed42be3eede01650474e138d9
2018-09-28 04:10:44 +03:00
levlam
cb9e935dee
Add static merge_message_content_file_id function.
...
GitOrigin-RevId: 0f43afe01427e71bb0496b877a857974148b1029
2018-09-28 03:38:45 +03:00
levlam
9b9ea5c58c
Implement on_update_sent_text_message using merge_message_contents.
...
GitOrigin-RevId: 823a468eb953686ce3ecbcbfe0eab78513aca36e
2018-09-28 03:15:12 +03:00
levlam
9ec9377815
Make more functions static.
...
GitOrigin-RevId: 70c3e1fee2af9620ef61e4d337ba8126ca41634c
2018-09-28 02:16:49 +03:00
levlam
8236bb8c0e
Seaprate static method for merge_message_contents.
...
GitOrigin-RevId: 7228109e708462483b73e46ed5dc60631f0e0420
2018-09-28 01:39:12 +03:00
levlam
02893fff41
Make most MessageContent-handling methods static.
...
GitOrigin-RevId: 31d8d7e25c835afbab2a65e649b2a533902b0223
2018-09-27 22:44:40 +03:00
levlam
c1f4e9d292
Make get_*_duration const.
...
GitOrigin-RevId: 85b5eb4cb221c2144318989d4d93b45784adcdf4
2018-09-27 21:14:32 +03:00
levlam
6ac930139b
Const-correct unique_ptr.
...
GitOrigin-RevId: 938cf4b0261cfea123066ae1fc4197754da11e68
2018-09-27 19:51:45 +03:00
levlam
b3bae546ec
Various fixes.
...
GitOrigin-RevId: 52699dbd5280b63c6bb32da44ea5bfa3157a7922
2018-09-27 16:37:15 +03:00
levlam
f948956bf7
Use td::unique_ptr instead of std::unique_ptr whenever possible.
...
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
2018-09-27 04:19:03 +03:00
levlam
81c0afafa3
Allow limit == -offset in getChatHistory.
...
GitOrigin-RevId: 8a050a75c0428304bb61c36a2c284b6309c6a8ea
2018-09-24 04:25:24 +03:00
levlam
86bc53bb0e
Fix usages of full_split.
...
GitOrigin-RevId: 17a750e4a9a7add83302694ad2e8771bf8ed6199
2018-09-23 02:46:09 +03:00
levlam
9c9ee999c4
Simplify InlineQueriesManager::get_inline_message_content.
...
GitOrigin-RevId: bf32b2756b899513afa6d935820d5ad37d158267
2018-09-22 03:47:40 +03:00
levlam
a23d62905b
Better MessageContentType output to StringBuilder.
...
GitOrigin-RevId: f755a36dc462db448a7ca584f8e061b161d3defd
2018-09-22 02:29:33 +03:00
levlam
a4d5cc9419
Fix warnings.
...
GitOrigin-RevId: 19e068a8579356722d116a7646980cf580721b7a
2018-09-22 02:15:13 +03:00
levlam
b11542ce6a
Rename MessageContent.get_id() to get_type.
...
GitOrigin-RevId: 3f718e571537875b66c9886d71cfc5c66213c8a7
2018-09-22 00:51:29 +03:00
levlam
946b46ad8c
Strong typing for MessageContent type.
...
GitOrigin-RevId: b89a431f6252ec47ebf2c3653eafbf71abbd7678
2018-09-22 00:33:41 +03:00
levlam
f08c0180b4
Const-correct tl::unique_ptr.
...
GitOrigin-RevId: b72a92a7169973c2d95e410cfbfed668a412e7e7
2018-09-21 20:52:22 +03:00
levlam
e086b4f740
Add MessagesManager::get_current_state.
...
GitOrigin-RevId: c5bcea8ae60503a50ab9707b61fcc082ebc89f79
2018-09-21 10:15:07 +03:00
levlam
4b2e3619f7
Use fail_send_message directly if possible.
...
GitOrigin-RevId: f537f3f2517a7775d5714e38b57a7ce11b2042f6
2018-09-19 19:59:23 +03:00
levlam
91950e9452
Fail to forward old messages after restart.
...
GitOrigin-RevId: 948954d3f6b9e3c7c4a8479233c95115cc676620
2018-09-19 19:43:01 +03:00
levlam
dccef30582
Automatically fail to resend very old messages.
...
GitOrigin-RevId: 6c39972e266b8be8be74f25de63a0008317de42e
2018-09-19 19:18:10 +03:00
levlam
2d05be04dd
Follow new server-side limits on first/last name and title length.
...
GitOrigin-RevId: 89fe4eb85c42859974142fd163ea9fd062fde459
2018-09-17 07:00:19 +03:00
levlam
95808d2230
Add debug.
...
GitOrigin-RevId: dc68c9353478ff31fb9ffdfade356c3770b6fbc4
2018-09-13 23:06:59 +03:00
levlam
9073ce4570
Do not add local photo sizes if photo could be changed.
...
GitOrigin-RevId: 6c19826a4c64a391a9254f261712529493fbe18c
2018-09-12 20:35:22 +03:00
levlam
cd33ec58be
Try to fix last_new_message_id in on_get_history_from_database.
...
GitOrigin-RevId: 4c5ede1006c4d8be0694ccfb459d70ed0702dc5d
2018-09-07 18:43:25 +03:00
levlam
8e9da13546
Fix handling of updateShortSentMessage without media.
...
GitOrigin-RevId: 8b43a406e25de52d78e86f6dc18f8901f30a4d59
2018-09-04 17:26:13 +03:00
levlam
523f4b9b26
Move logging of gaps in channels to INFO.
...
GitOrigin-RevId: 094a918973b02804f357e898378c55c147d02490
2018-09-01 15:55:29 +03:00
levlam
5379348651
Improve some logging.
...
GitOrigin-RevId: ec0a2f01c45b1ae7a74cd407f5c867e609e47d1f
2018-08-28 05:52:43 +03:00
levlam
45d42b6417
Better logging.
...
GitOrigin-RevId: ba955bd72a80b58f451e97705d45ba06daffd420
2018-08-28 04:04:39 +03:00
levlam
e09cab4009
Mark as read all messages in chat with self.
...
GitOrigin-RevId: b6185d3a885530852b6f2708b923601a983aca32
2018-08-25 16:07:54 +03:00
levlam
5923239296
Fix wrong is_outgoing flag.
...
GitOrigin-RevId: 09c3817822b6bf8a961cbeaa33eb6a7ecd15d7ad
2018-08-25 16:01:23 +03:00
levlam
bcadd6a459
Unite requests for getting full language pack.
...
GitOrigin-RevId: 401ccd4168f56c555af1a7827384395dcf906fc0
2018-08-24 04:53:14 +03:00
levlam
b4be4da02b
Better check for empty message text.
...
GitOrigin-RevId: cfc3081dd0d8f5bd250b3d043b77fe1c3449cfd3
2018-08-12 18:02:11 +03:00
levlam
0c7e2ce37b
Create settings dialod in send_update_new_message to get only notification settings from the server instead of the whole dialog.
...
GitOrigin-RevId: ebe1e1194b0063787e0591ac94aba3866a4e07e0
2018-08-11 12:54:07 +03:00
levlam
22d8d1e469
Disallow forwarding of empty messages.
...
GitOrigin-RevId: 06c09cde285f440a86a420d2790da7c3751384c1
2018-08-11 12:03:32 +03:00
levlam
710c548015
Add more debug to get_message_id_by_random_id.
...
GitOrigin-RevId: 3a2d2acfceb1f6b5f78cc46a04fd3ffb2772d6a5
2018-08-05 01:29:53 +03:00
levlam
a82fbad806
Fix misprint.
...
GitOrigin-RevId: fbfa91572c5f42248ed3b12bf8ebb9979477c6c4
2018-08-05 00:52:52 +03:00
levlam
72d2235f6e
Improve get_next_message_id.
...
GitOrigin-RevId: af978d83a85415439a6168964e7f05335c16b76d
2018-08-05 00:05:29 +03:00
levlam
b97570b817
Fix handling of some message contents in on_message_ttl_expired_impl.
...
GitOrigin-RevId: 1ad333a8f050f1d86bf769158a55f6cf113b66f3
2018-08-04 23:46:43 +03:00
levlam
f162aa55ad
Set error on invalid Dialog logevent.
...
GitOrigin-RevId: a1b91622061a1117b15d7e668c109f6bbe0a2469
2018-08-02 15:45:58 +03:00
levlam
986652a1ae
Change Telegram Passport API object and function names.
...
GitOrigin-RevId: 8e7d3602146dab76f62aa86f7539187559d2ca92
2018-08-01 16:52:07 +03:00
levlam
7706e8614b
Fix get_dialog_mute_until.
...
GitOrigin-RevId: eb198090119d8d8be3716ac6765eed6f5e75cf16
2018-07-30 23:24:50 +03:00
levlam
b339257c89
Add add_local_message debug.
...
GitOrigin-RevId: 893cddc5a8388bf47eaaf62e1f9ec9dc1fe6bb45
2018-07-28 10:08:00 +03:00
levlam
10b7862dfd
Add even more denug.
...
GitOrigin-RevId: 6b30a16e43b4278abe04ac8030d0b05aa23067b6
2018-07-27 18:47:51 +03:00
levlam
c63aaf7cde
Add source to ttl_unregister_message.
...
GitOrigin-RevId: d25685de6cbb92569f29f22e111b612d76e4fcb9
2018-07-25 16:49:44 +03:00
levlam
86c9234388
Fix can_delete_for_everyone flag in closed secret chats.
...
GitOrigin-RevId: 4db2dd4ac884d65c9f7f93a9dff19ee4f207766d
2018-07-25 02:59:05 +03:00
levlam
09ad42fa82
Fix left chats in searchChatsOnServer.
...
GitOrigin-RevId: 304be4cf1be8e229532a4faa2115030b2d7250bd
2018-07-24 19:02:12 +03:00
levlam
88dae19d7e
Remove unaccessible for reading chats from recent list.
...
GitOrigin-RevId: ac80c4d127f28fb72ef3cb44f15464ce72dd241f
2018-07-24 18:30:04 +03:00
levlam
e171c6490f
Fix updating ScopeNotificationSettings on server.
...
GitOrigin-RevId: 017ca08db0c37d951887e77a25484b71f838c5cd
2018-07-24 18:17:28 +03:00
levlam
2ffabd63ba
Add some logging.
...
GitOrigin-RevId: f0529ad4470507d96a22d820b14e2f0358bbd81b
2018-07-24 18:03:04 +03:00
levlam
7fd2a81a38
Fix some secret chat actions on closing.
...
GitOrigin-RevId: 055965d9dd24f42c16826d18c88ef1205d9b808e
2018-07-24 01:45:44 +03:00
levlam
15828a2329
Add members filter to searchChatMembers.
...
GitOrigin-RevId: 8d553d6c73e32446eaa7e6ebb5bdf562458d258d
2018-07-20 03:00:17 +03:00
levlam
fc966adca9
Add exclude_secret_chats parameter to clearAllDraftMessages.
...
GitOrigin-RevId: 7b08fe3e954d9e361d7e20c4341575e2101e6dbc
2018-07-19 17:23:18 +03:00
levlam
460675316c
Add td_api::getChatMessageCount method.
...
GitOrigin-RevId: f2257074e276e12084b43a63db17f852fb5f500e
2018-07-19 16:58:09 +03:00
levlam
7b656da0c8
Get dialog unread marks only after getDifference.
...
GitOrigin-RevId: a0c12f5d4ed032c4e221945130f3c487bae101c0
2018-07-19 01:33:04 +03:00
levlam
46ebd1b240
Include SqliteKeyValue only in cpp.
...
GitOrigin-RevId: b89c988f6da1d480f68ecb71ef5390e9376faac1
2018-07-18 04:11:48 +03:00
levlam
1aa94575e8
Minor fixes.
...
GitOrigin-RevId: 33b0f159e7003d7b9dce28033a7e90169a9421bc
2018-07-17 14:27:24 +03:00
levlam
4594885e61
Update layer 82: chatReportReasonCopyright, clearAllDraftMessages.
...
GitOrigin-RevId: 79d9adf61a17b11996eeecfa94c205d1cdc34a51
2018-07-17 06:46:27 +03:00
levlam
ec2f70cb19
Return debug in on_message_ttl_expired_impl.
...
GitOrigin-RevId: b82816793bf1a142757b65b54396796cad5efe63
2018-07-16 06:08:57 +03:00
levlam
bdbe8f990c
Add more debug.
...
GitOrigin-RevId: cfc7b2526233caa5beb2a1ed3d145224354ba3ae
2018-07-15 12:29:28 +03:00
levlam
8e1667281e
Add get_message_by_random_id debug.
...
GitOrigin-RevId: 77fe532243e1a6bb065ca25e65900852e66100a0
2018-07-15 11:47:57 +03:00
levlam
15ac0f9c47
Return some debug.
...
GitOrigin-RevId: 14ee37ad972013a1b9da22d07f83c372874ba585
2018-07-10 21:02:44 +03:00
levlam
3f63b15a9b
Add more debug.
...
GitOrigin-RevId: 2c90e851b9ac93ef7398c030f58e192854247058
2018-07-10 20:49:59 +03:00
levlam
de557cbc3d
Fix Message.can_be_edited flag.
...
GitOrigin-RevId: c17a38381a629c8ede1729241fea88bb12e67a8b
2018-07-09 16:14:21 +03:00
levlam
e0c7e0b930
Add TextUrl messages to Shared Links.
...
GitOrigin-RevId: bc2d5f952a792cb3c863b9e4093bce335a143cc9
2018-07-08 18:20:13 +03:00
levlam
e2a90b9edf
Fix some string to Slice conversions.
...
GitOrigin-RevId: 79ddee1a90c633cc1b1df5c8e3d9917027bad0f3
2018-07-08 02:47:46 +03:00
levlam
05aab44742
Fix CHECK.
...
GitOrigin-RevId: 08037c7315fc89e8504dc935848f78e4b1afbe3d
2018-07-07 17:07:16 +03:00
levlam
145c55ad12
Force get channel difference if receive new message id evidence.
...
GitOrigin-RevId: 4c2f7cf65687e99d7fbf10a7ebf514fead9485bd
2018-07-07 05:18:50 +03:00
levlam
8e75107bf5
Allow ordinary users to edit messages with reply markup.
...
GitOrigin-RevId: 1c526e779dfada1266f737277aceda5347dc6355
2018-07-07 03:03:01 +03:00
levlam
4c404f3a68
Drop dialog unread counter when viewMessages is called.
...
GitOrigin-RevId: 0f6f4cfaaf6575383d0d0dcb4c5d3f71ca5c44bb
2018-07-06 03:10:50 +03:00
levlam
f3f26b0783
Ignore message views when forward header isn't added.
...
GitOrigin-RevId: 41d611e4b2103a72802786c49e370624d9c30bee
2018-07-04 22:00:13 +03:00
levlam
321df81ebb
Trying to repair broken Dialog, received from database.
...
GitOrigin-RevId: 39a0bc85a5edb557b598ac0486d287f0eb332aed
2018-07-04 19:55:54 +03:00
levlam
60c5b21ccb
Add slightly more debug.
...
GitOrigin-RevId: 9f9bdbd8274b8c69134c1e85aef76f58501e9339
2018-07-03 02:49:43 +03:00
levlam
007c4cbc57
Move logging to INFO.
...
GitOrigin-RevId: 7369b95bcd6480731443925490459ab828a5b056
2018-07-03 02:34:47 +03:00
levlam
dcdbf6854b
Add is_dialog_muted function.
...
GitOrigin-RevId: caf78597b4711273e26f21b4276a3a604395b387
2018-07-02 04:21:18 +03:00
levlam
db48e0abac
Add updateUnreadChatCount.
...
GitOrigin-RevId: 151d11964c23443da8a975d32e343226e650bb9d
2018-07-02 04:02:30 +03:00
levlam
2f60d194cb
Fix formatting.
...
GitOrigin-RevId: d9c6ce7fd301a1871fea0f1b19ffdeae8328edfb
2018-06-28 22:20:48 +03:00
levlam
b301a35fce
Add some CHECKs.
...
GitOrigin-RevId: 8959575d05c189d0a3e65e44a81d9e6954fe0a9e
2018-06-28 18:25:33 +03:00
Arseny Smirnov
80d4292493
BinlogHelper:: -> binlog_
...
GitOrigin-RevId: 94cf4585c4f61be2929c5a7cd1a3628b911bc4c5
2018-06-28 16:52:40 +03:00
levlam
002f4e31b0
Fix warning.
...
GitOrigin-RevId: c54303ab305fec0f7b30a5d231688add912b97d0
2018-06-28 16:50:43 +03:00
levlam
995928743f
Increase generation just in case.
...
GitOrigin-RevId: 92f24329c8b10f321c514646627f198bb5e85045
2018-06-28 02:38:33 +03:00
levlam
c40cacfa34
Marked as unread support.
...
GitOrigin-RevId: b439d8365dad9580cf2d93f97037a2f37cd83adf
2018-06-28 00:08:44 +03:00
levlam
48740add28
Init some uninitialized Result variables.
...
GitOrigin-RevId: 48e15168e48d131c53a93a5c2971c7dadeeeb270
2018-06-27 19:24:42 +03:00
levlam
3b11e1818c
Better check for suffix load done.
...
GitOrigin-RevId: d86a868ec5c1e7d596c5f81d26b62f4e683b91a2
2018-06-27 18:33:38 +03:00
levlam
c07bc54f34
Fix suffix_load_first_message_id when corresponding message is deleted.
...
GitOrigin-RevId: 025744f5120f7f6860f0af46dfcdc8870110f48a
2018-06-27 18:28:58 +03:00
levlam
4eb2981af6
Better handling of DeleteMessage log events.
...
GitOrigin-RevId: 205850a5258a7aeb135c1eaa0698905261080ae3
2018-06-27 18:17:33 +03:00
levlam
46535703e0
Fix some includes.
...
GitOrigin-RevId: 901d167d7197e4c0222656e9fc1f9fc0e216e44b
2018-06-26 02:43:11 +03:00
levlam
aa13a57a3c
Update layer to 82. Contact.vcard support.
...
GitOrigin-RevId: 302d65351cfaeb6b4e82c594565ab1aef18b2a42
2018-06-26 00:10:53 +03:00
levlam
046ad3b752
Make TlStorerUnsafe buffer unsigned.
...
GitOrigin-RevId: 8bb19c10e4edd8b015d3a2be0449426c9c07f7df
2018-06-25 02:58:43 +03:00
levlam
75a577e8a5
Better replacement for USER_IS_BOT error.
...
GitOrigin-RevId: 88dafd60d1bbdaa04f2e90877551db6a98ae1ba0
2018-06-24 20:41:19 +03:00
levlam
b3499717a4
Fix reading of failed to send messages.
...
GitOrigin-RevId: 72b24013e2e15664d8dee7b7980e159fd4277dad
2018-06-21 21:21:09 +03:00
levlam
818d6dee0c
Fix suffix load in presence of message unload.
...
GitOrigin-RevId: 0324254270c62f8ea97d1d787990490d148319d4
2018-06-21 20:55:59 +03:00
levlam
7ff339e804
Refactor ttl_read_history.
...
GitOrigin-RevId: 6d5c57716a332a88f30ff11c831371568768a125
2018-06-20 22:18:53 +03:00
levlam
4121f8d6ab
Add ReadHistoryInSecretChatLogEvent.
...
GitOrigin-RevId: 92da5d4224dee274267123c2467704197d3cc3d4
2018-06-20 04:02:02 +03:00
levlam
537d96cc8e
Remove read history delay when there is no more messages to read.
...
GitOrigin-RevId: 08ec35c839c35bb33ea4e3bc5063e08b0f8c6cc0
2018-06-19 03:35:09 +03:00
levlam
4d5197d31c
Edit message media.
...
GitOrigin-RevId: eba2f32f4e033720ea1143463a9f3d1eae54880d
2018-06-19 02:31:34 +03:00
levlam
3827fb91eb
Fix send_get_dialog_query.
...
GitOrigin-RevId: f1bee7dddc9a95daccc36cc5bb1e51f2627907de
2018-06-17 18:20:37 +03:00
levlam
70be2b6f85
Add chat.is_sponsored field and updateChatIsSponsored.
...
GitOrigin-RevId: 0100c868c410f9b4324b3e0de9912bec22d172d5
2018-06-15 22:52:52 +03:00
levlam
3a8c0f131e
Rename promoted chat to sponsored.
...
GitOrigin-RevId: e385126253199a46b55fba7d350e0c115a8c333e
2018-06-14 00:07:24 +03:00
levlam
5d1323311a
Disable updating notification settings for bots.
...
GitOrigin-RevId: 7562ea7dd624ba95af875f03b354f94dac95bbbb
2018-06-08 19:56:26 +03:00
levlam
1bed66122a
Add is_update_new_chat_sent flag.
...
GitOrigin-RevId: bdc493e48f8ab1f9e5d50780edf98e7d63c8159c
2018-06-08 19:42:21 +03:00
levlam
a72494d721
Support Terms of Service.
...
GitOrigin-RevId: 389c4ba590a4feb34ac6d801f9097291e87423d8
2018-06-07 21:42:17 +03:00
levlam
abaaae5720
Fix need_merge_files usage.
...
GitOrigin-RevId: c584f7a67e7d442e84d206ce0930b23361e5515e
2018-06-06 18:16:02 +03:00
levlam
984b401489
Better cancel upload file.
...
GitOrigin-RevId: 7a50d7da953c8cc582a1e19d279fd113fd5f4a9d
2018-06-06 18:10:21 +03:00
levlam
c859a4eb78
Remove some logging.
...
GitOrigin-RevId: 20b3a4942bfd51dbbcb49f9b5ac973406c7163ac
2018-06-06 17:27:45 +03:00
levlam
58ae8cc587
Better condition for updating of last_database_message_id.
...
GitOrigin-RevId: 48fce1e008339da955bece831b4f1ba9254e0263
2018-06-06 17:01:01 +03:00
levlam
60200b0b40
Add cancel_upload_message_content_files.
...
GitOrigin-RevId: c35ba525230eca2ab086ac3e109dc81cd96665f3
2018-06-05 19:54:33 +03:00
levlam
4806933832
Fix adding failed to send messages to dialog.
...
GitOrigin-RevId: 1d09e032a12bc4338f7d28b70b9d8a4086ec0f0c
2018-06-05 05:03:35 +03:00
levlam
98aba6304c
Persistent getDialogQuery.
...
GitOrigin-RevId: e882cd049aac7aa86cf03750a78c3b92635f5379
2018-06-01 19:58:23 +03:00
levlam
4114d8769f
Bugfix.
...
GitOrigin-RevId: edd102f69ba7b9a96ff969baa71c2303e05a1776
2018-05-25 21:26:04 +03:00
levlam
3229ea3ce2
Fix send_update_new_message.
...
GitOrigin-RevId: 12d4f0c6aa9b84b91bb1438fb1ffecab48381471
2018-05-24 19:27:56 +03:00
levlam
89d3b57265
Fix message_count_by_index when message content is changed.
...
GitOrigin-RevId: 1ac18955acfcce44881621932dbbf88bc59474da
2018-05-23 18:28:46 +03:00
levlam
d3b5029cba
Optionally merge files in update_message_content.
...
GitOrigin-RevId: 785f1bca1360ab2330744ff55e93421eb7834801
2018-05-23 17:28:23 +03:00
levlam
6f7d4b08bf
Update layer to 80.
...
GitOrigin-RevId: fe59fee694886bd63e412fa8de33dd561302218c
2018-05-21 07:18:39 +03:00
levlam
7de9a0c15d
New Proxy API.
...
GitOrigin-RevId: 2f96b8d1732c25e10a7568c6cf2dbbe26a150e4a
2018-05-14 22:00:38 +03:00
levlam
d61befbb1e
Fix send_get_dialog_notification_settings_query.
...
GitOrigin-RevId: ed9f4abf5c2bb68c6fccc6cc1b55017e3c941296
2018-05-11 18:48:04 +03:00
levlam
864a56626d
Better load_messages.
...
GitOrigin-RevId: 514ccb557d906479f316094d92439635c831b2bb
2018-05-10 21:42:15 +03:00
levlam
fa99ec2875
Add promoted dialog to dialog list.
...
GitOrigin-RevId: db6936972df14739081b288cb270dc1560e46c61
2018-05-10 21:26:46 +03:00
levlam
47d5082253
Better repair_channel_server_unread_count.
...
GitOrigin-RevId: f89556066014dd7e9e6031f0157ae2a3ecd65ad6
2018-05-10 20:06:48 +03:00
levlam
70438d829a
Various fixes.
...
GitOrigin-RevId: dd3f4879617f42023c9c918d841d99299b13c7cf
2018-05-09 20:14:17 +03:00
levlam
c65b998cd6
All updatePromotedChat.
...
GitOrigin-RevId: 4a3c6283026ba15836cb7fa011c4b3ad21a64baa
2018-05-08 23:02:15 +03:00
levlam
c7cbecd2c1
Request only notification settings if they are needed.
...
GitOrigin-RevId: ecaacca6cc4ee5081859cd1120418a703b8d02b1
2018-05-03 17:21:49 +03:00
levlam
000e07e679
Combine getNotifySettings queries.
...
GitOrigin-RevId: 8a02e9513793c85cbc833d1b17d12bdbc6b416cb
2018-05-03 17:16:04 +03:00
levlam
fc4d401eb6
Better is_dialog_inited.
...
GitOrigin-RevId: ba385e0322e831362a612259c4315faf7338c14f
2018-05-03 16:29:33 +03:00
levlam
a37dfc406b
Delay before sending read history request to server.
...
GitOrigin-RevId: 5452973469e6142cefa00d063ceef36add728f14
2018-05-03 15:36:05 +03:00
levlam
a82dfe4735
Remove allow_error from ReadHistoryQuery.
...
GitOrigin-RevId: 7f285eb790f55b3bcdddc5c912a1c1cb094719e7
2018-05-03 14:13:55 +03:00
levlam
1b64400167
Read chat history while scrolling.
...
GitOrigin-RevId: 0795d97634a7420d2d3784304ae314cd075ac1d5
2018-05-03 11:57:19 +03:00
levlam
5b1b1273b4
Implement calc_new_unread_count_from_the_end and repairing of server unread count.
...
GitOrigin-RevId: e11417e08db93814f3093677c60482fb14acbc53
2018-05-02 13:30:52 +03:00
levlam
6a3241dc12
Add dummy calc_new_unread_count_from_last_unread.
...
GitOrigin-RevId: eb66e452c3e99344180493491d588e0871b3fd91
2018-05-01 21:12:00 +03:00
levlam
eeb94af4df
Refactor calculation of unread_count to calc_new_unread_count.
...
GitOrigin-RevId: f4cdce4e37db8d368074cb10dad13fef74b73dbf
2018-05-01 20:13:36 +03:00
levlam
4913915a8e
Call getChannelFull when join channel.
...
GitOrigin-RevId: abda6c7886e298852ab3e5f1c332db1eb32f2c3c
2018-04-30 15:04:57 +03:00
levlam
b998431081
Persistent change_dialog_report_spam_state.
...
GitOrigin-RevId: 8a11181cc78b3fe2e7536c49a198c6fa99fa348c
2018-04-29 08:58:45 +03:00
levlam
0f2769bc77
get_erase_logevent_promise.
...
GitOrigin-RevId: 8e92413b65a9fdf9848680f4b65568752ea22365
2018-04-28 23:22:28 +03:00
levlam
6c17d7933c
Persisitent resetAllNotificationSettings.
...
GitOrigin-RevId: a726d3d7ccdebb26d3aacdad9964725cb169aea9
2018-04-28 22:50:12 +03:00
levlam
0eb61a5687
Persistent UpdateScopeNotificationSettings.
...
GitOrigin-RevId: 3cbd98d3f6ff3aed617228bfc286bced9dc7249a
2018-04-28 22:31:42 +03:00
levlam
e9ba26c4f0
Default disable_notification support.
...
GitOrigin-RevId: 014a8b141dc1cff5126748c7785ea22d12aef7b3
2018-04-28 21:05:04 +03:00
levlam
ffe1b67fff
Better add_message_to_dialog.
...
GitOrigin-RevId: 86cbe6e6a9222879e640d1d8bbe67e69c7451437
2018-04-27 20:21:18 +03:00
levlam
6b60ac613f
Fix auto_read in addLocalMessage.
...
GitOrigin-RevId: 776a4c5dc012c482751ba2603ce4722df6b3f701
2018-04-27 19:51:11 +03:00
levlam
4e7b07508f
Various PassportData fixes.
...
GitOrigin-RevId: 7c8ce3d564c37dcc75715b5dac7886749e0ed9d3
2018-04-26 23:41:34 +03:00
levlam
8ce75591b7
Support recent hashtags in caption.
...
GitOrigin-RevId: 66c02489587582f78a8ff8a606d366d4ceb10547
2018-04-23 17:50:44 +03:00
levlam
9b49092162
Add get_message_content_text.
...
GitOrigin-RevId: df44be6b215c945100f86d0d8cbb2397d90546ce
2018-04-23 02:02:29 +03:00
levlam
01d13bf005
Update recent hashtags when message is edited.
...
GitOrigin-RevId: ba6dc7bda612d96f9417516fe684d053e68a9e24
2018-04-23 01:50:07 +03:00
levlam
bb1fdeacd8
Always cancel chat action from bots.
...
GitOrigin-RevId: 3da4ae8a288420202d1137cd8824764beb07fc71
2018-04-23 01:25:07 +03:00
levlam
f758d592dd
Better iterators increment.
...
GitOrigin-RevId: 5da2e57210ce62f78ab938005a4683d2c1e26547
2018-04-23 01:14:49 +03:00
levlam
c8c8de0260
Add debug.
...
GitOrigin-RevId: c26da5c5cd48c0afba747b4e33319056e98cd215
2018-04-19 20:52:47 +03:00
levlam
a09e94370b
Move NetActorOnce to NetActor.h.
...
GitOrigin-RevId: e439137323dda416b07e091c4218eba0a4c73961
2018-04-19 19:00:54 +03:00
levlam
a87d1bf960
Add source to get_message_text.
...
GitOrigin-RevId: 7be2398a51a95fa8a57b934042e945be0052c34f
2018-04-16 16:52:00 +03:00
levlam
46157f6b86
Properly fix last_new_message_id.
...
GitOrigin-RevId: 16e67ea5113a92bf81e8e70aed7d9843f0aa0649
2018-04-14 00:23:34 +03:00
levlam
ce7c410a5a
Add debug.
...
GitOrigin-RevId: 96ca16589f2d3e81aa1302be2af1cf4116db71b2
2018-04-13 19:48:38 +03:00
levlam
ccdfac6926
Add debug.
...
GitOrigin-RevId: 5fd06970cd91cf9f5211e27cf8d1d794ce79dc8f
2018-04-13 19:16:46 +03:00
levlam
47611d582e
Fix add_dialog_dependencies.
...
GitOrigin-RevId: 070c00847699580432d29ee7ba3c4ff38c468a66
2018-04-13 19:10:24 +03:00
levlam
75ea942c82
Fix failed to send message identifier.
...
GitOrigin-RevId: dd5b699db7367bc7521514fe9e60b4c0583a79d6
2018-04-13 00:29:01 +03:00
levlam
d35f1b9fc3
Add debug.
...
GitOrigin-RevId: 92e455562bffef344a59e69e8c8345ca4d528798
2018-04-13 00:21:07 +03:00
levlam
7a570572f8
Add debug.
...
GitOrigin-RevId: 62c48a35f4a1c442e4d6dce71fcf5e02b2bdbd8e
2018-04-13 00:09:50 +03:00
levlam
bc193a97bf
Various fixes.
...
GitOrigin-RevId: ec2af1bd18e337425dd6a9287e8d08bbce88eed8
2018-04-11 20:42:06 +03:00
levlam
703aec74ba
Fix source.
...
GitOrigin-RevId: 9b0ff354fb1d563940f9788e41db69d472853b63
2018-04-10 15:19:42 +03:00
levlam
50ab1fd175
Fix g++ CEs, warnings and Internal Compiler Errors.
...
GitOrigin-RevId: 0d7213b04cbbe67157f93fcdcf76f11373b47470
2018-04-09 21:28:50 +03:00
levlam
184af85bfc
Update layer 78: venue_type, email code length.
...
GitOrigin-RevId: c10dc49dd0ecd467a78b17081239305035f6e642
2018-04-09 21:06:37 +03:00
levlam
d7d91bbaf3
Update layer 78: new notification settings API.
...
GitOrigin-RevId: affa0a97035b69e2f710b289f300139e7b41d116
2018-04-09 19:30:27 +03:00
levlam
775c2eea25
getAllPasswordData and various fixes.
...
GitOrigin-RevId: e423dfdaf97b06f0067bda3d1fb847869697234f
2018-04-07 01:29:36 +03:00
Arseny Smirnov
fb79d6f95a
Layer 78. Initial Telegram Passport support.
...
GitOrigin-RevId: 197994bcf62a76cd963f32a8dd7f5951d7b6588b
2018-03-27 16:11:15 +03:00
levlam
ccf8064821
Fix adding last message in on_get_dialogs.
...
GitOrigin-RevId: c14c9df93f06caeca26fb5eb63e9d68be00f48f1
2018-04-06 18:19:27 +03:00
levlam
235c137d49
Fix get_full_history,
...
GitOrigin-RevId: 437b3f8dd1c7172ac156c172f70a473b5a8eebf9
2018-04-06 17:31:16 +03:00
levlam
ef91b420fc
Better error logging.
...
GitOrigin-RevId: c2f66b083a36a7e38360df5c07a79c9b3f1b5166
2018-04-05 22:33:33 +03:00
levlam
46552ce43f
Fix error message.
...
GitOrigin-RevId: 38012e48c7d33d83d229e11d936315560aea40b9
2018-04-04 22:43:43 +03:00
levlam
e9f3bcbd4d
Add debug.
...
GitOrigin-RevId: 3d9d56130f29b1977e00576bb5f3fd5ff84873e9
2018-04-04 22:37:14 +03:00
levlam
8c4461b561
Fix last_database_message_id.
...
GitOrigin-RevId: 16bf017eb0f7f1be3240bd880a59a1fcb8740367
2018-04-04 22:30:10 +03:00
levlam
2b12f092bf
Fix first_database_message_id.
...
GitOrigin-RevId: ce9ac557426af593efce57b6ba06e720d9c871f4
2018-04-04 17:49:45 +03:00
levlam
1035a5a6c0
Better photo size comparison.
...
GitOrigin-RevId: 630e32213169122a3c67ac8c35b2e8bc5c2a6ae5
2018-04-03 10:35:04 +03:00
levlam
1902a5f0e6
Fix update_message.
...
GitOrigin-RevId: a3b2cce00a5188328cc577896eceb8bfe130b5f8
2018-04-02 23:32:49 +03:00
levlam
e9490eb6e1
Add debug to attach_message.
...
GitOrigin-RevId: d148fce42b3e59a30119c827b5ef1e736dfaa1a5
2018-04-02 02:30:25 +03:00
levlam
a987ec3b00
Fix add_local_message.
...
GitOrigin-RevId: 75f794d823f120d7b99af5dd57e54535e791cd96
2018-04-02 02:16:38 +03:00
levlam
69c785c3ba
Fix add_message_dependencies.
...
GitOrigin-RevId: 19f6a6f4065a03ddb0517acd97404544bf9edc2b
2018-04-02 02:03:22 +03:00
levlam
f63a73b6a6
Add MessageEntity.hpp.
...
GitOrigin-RevId: 424a9918012d2285a04beead79c6edad1fb7ca28
2018-04-02 01:45:51 +03:00
levlam
92e9550ebd
Add source to get_input_message_entities.
...
GitOrigin-RevId: 505c9c96286e7e6026902cbf1b92f1cc3142f5ad
2018-04-02 01:10:22 +03:00
levlam
7e21d35e43
Add more debug.
...
GitOrigin-RevId: 29d4bceb055f3085d53384ce7e873fc38793bf80
2018-04-02 00:01:09 +03:00
levlam
f8efdc7b9d
Better td_api::addLocalMessage.
...
GitOrigin-RevId: be6a9d27d3d683fdd7c72bca6bb8ba080bdbfc0d
2018-03-27 17:55:33 +03:00
levlam
948e416d43
Fix need_cancel_user_dialog_action.
...
GitOrigin-RevId: 63810989c1656a70302959f62ea5e4e356c1e610
2018-03-27 14:58:48 +03:00
levlam
2479353230
Move get_service_notifications_user_id to ContactsManager.
...
GitOrigin-RevId: 451a8db7311a9272d4c6c34653c2a4a82f0cb266
2018-03-27 00:21:53 +03:00
levlam
4e22261c6b
Add td_api::addLocalMessage.
...
GitOrigin-RevId: 795a22f72cfd5edbfa901207045d3b92fac2d3ee
2018-03-26 23:20:56 +03:00
levlam
372196280c
Fix unneded call to on_message_changed.
...
GitOrigin-RevId: 77ed3c201080d86a37698955ed4d17a9a6429e30
2018-03-26 19:29:35 +03:00
levlam
6d9792e9ea
Fix yet_unsent_media_queues_.
...
GitOrigin-RevId: 6249449a81bede3cc596c8670b66800551df1587
2018-03-19 20:42:45 +03:00
levlam
c9a9e386e5
Check message content type in on_get_recent_locations.
...
GitOrigin-RevId: 50f343e2f8a6e023b50d57663a4b7f27e6f4088c
2018-03-14 21:57:04 +03:00
levlam
23cd9f656f
Fix warning.
...
GitOrigin-RevId: 220da64c77eb25f99fa620ff72065a31d0674117
2018-03-14 21:48:36 +03:00
levlam
0b54ca677b
Better cancel_user_dialog_action.
...
GitOrigin-RevId: f7b9518af4f98a2f36bece905b6a2e7222cda28c
2018-03-14 21:36:28 +03:00
levlam
52f45abf65
Handle chatAction timeouts.
...
GitOrigin-RevId: acd087bf97f6ff39af8111b1c8d984f72f041467
2018-03-13 20:48:08 +03:00
levlam
8eaea5d4af
Send updateUserChatAction from on_user_dialog_action.
...
GitOrigin-RevId: 6af5402efa9ac21b9054278c839d982b4fbdcb6e
2018-03-13 11:57:58 +03:00
levlam
86666a8418
Cancel previous setEncryptedTyping query.
...
GitOrigin-RevId: dcebab6bae15c25def5f7c6bc15f03fffea66ef4
2018-03-13 11:08:56 +03:00
levlam
d9e76824ab
Fix CE.
...
GitOrigin-RevId: e271b99a124cfdac7a15e78d50594402bcdc75a4
2018-03-13 01:21:41 +03:00
levlam
85c2cc160d
Add textEntityTypePhoneNumber.
...
GitOrigin-RevId: b8705ec13104848c5ae0597aee6cf4e6f41762db
2018-03-13 00:17:29 +03:00
levlam
c489e3b91d
Automatically send ChatAction while files are uploaded.
...
GitOrigin-RevId: 45c27ab71ede8c0f82265b34b752e03ffc1c1c8c
2018-03-12 23:33:56 +03:00
levlam
76de8f374e
Preserve remote_id in update_message_content.
...
GitOrigin-RevId: 136c7a391374a54d1e1c5afac5b68d986c9c7001
2018-03-08 22:01:24 +03:00
levlam
8b0cce1610
Re-enable sent file merge when only FileType changes.
...
GitOrigin-RevId: 728228d2397097ae1aaf68ce062c0cdd21fa0176
2018-03-07 02:41:40 +03:00
levlam
c1e3f2d65d
Use new config constants.
...
GitOrigin-RevId: 6f0d02a9ca91e7db2d416eb89861080ff9f6f30c
2018-03-04 23:50:38 +03:00
levlam
e0381695a3
Add is_secret flag to messageAnimation, messagePhoto, messageVideo and messageVideoNote.
...
GitOrigin-RevId: 15bcfda6fb5723c6e4468ce73d0ad737a09426dc
2018-03-04 22:18:32 +03:00
levlam
aeff9a99d1
Do not increment message view counter in closed chats.
...
GitOrigin-RevId: e08b6cbea02602538fa5189eeee574a9d65ce604
2018-03-04 17:59:18 +03:00
levlam
83b8a3a942
View messages in all chats.
...
GitOrigin-RevId: 19e415c997342b01f9d0f1323910e52fab2b6be8
2018-03-04 17:41:02 +03:00
levlam
75371b6399
Add Chat.can_be_reported.
...
GitOrigin-RevId: b1cf15ee0071bbb2ab6d026121eb9d2a0735e5b4
2018-03-04 17:14:37 +03:00
levlam
40144546bb
Silence MESSAGE_NOT_MODIFIED for regular users.
...
GitOrigin-RevId: 4cab24b760b68f378f48aeaed321889a2f3fa2ac
2018-03-04 02:09:08 +03:00
levlam
d64280c890
Update layer #76 .
...
GitOrigin-RevId: d865abc2c8fb9b3b1350fcd689ef086de38aab3e
2018-03-04 00:33:26 +03:00
levlam
b5036975b8
Allow to specify message_ids in td_api::reportSpam.
...
GitOrigin-RevId: c77dcd89e58c38ac218204230620513c2cdda60d
2018-03-02 19:21:43 +03:00
levlam
93c22e7047
Add expires_in to messageLocation.
...
GitOrigin-RevId: d713cdd57d8b534c3d123a81d28a51b3586bf491
2018-03-01 02:14:22 +03:00
levlam
7c445958ed
Improve logging.
...
GitOrigin-RevId: dcc5c492ecdc569ae2d85b5d36373e4f88b35ae2
2018-02-28 20:03:24 +03:00
levlam
343b83c23c
More calls to recalc_unread_message_count.
...
GitOrigin-RevId: 33435c2952192c876e6636534d12330c976b9bd0
2018-02-27 04:04:38 +03:00
levlam
8d16c86c73
Preload chats from server if there is no more chats in the database.
...
GitOrigin-RevId: b80b27fc423f9059edc103c94678dd2fd8fb01aa
2018-02-26 21:31:10 +03:00
levlam
0c9249f7f6
Add updateUnreadMessageCount.
...
GitOrigin-RevId: 7d8c4d085cd742cd000ce409545c9a034b8ad586
2018-02-25 03:00:17 +03:00
levlam
483678a6b9
Remove unused cstdio header.
...
GitOrigin-RevId: 3530f550b85f244ec7b7274ded224bf7f15a3fa9
2018-02-24 00:29:36 +03:00
levlam
d409d44d7f
Remove MessagesManager dependency on sstream.
...
GitOrigin-RevId: dd20f03bdef240f92ce01a485f3555553e93f113
2018-02-24 00:25:17 +03:00
levlam
412c93b0f1
Send updateNotificationSettings when a chat is unmuted.
...
GitOrigin-RevId: 739c836bbcdff57200eb488a8d7f5a43163d86e5
2018-02-23 18:35:36 +03:00
levlam
a75b6611d5
Always change unread count through set_dialog_last_read_inbox_message_id.
...
GitOrigin-RevId: 0c00b8369c4f7e0d4f83d514ce4264bf821acbf7
2018-02-23 04:35:36 +03:00
levlam
d1f1a14a37
Update layer to 76: add messageWebsiteConnected.
...
GitOrigin-RevId: 8cb5128a7d7eac2afe0622fc901392bf318fa460
2018-02-22 03:36:40 +03:00
levlam
f4afe7f63e
Ensure that there is no mentions in private chats.
...
GitOrigin-RevId: dac0f3f92695cdb4dda1303e5deb0df7c4132423
2018-02-21 16:44:23 +03:00
levlam
3119a17518
Improve td_json_client documentation.
...
GitOrigin-RevId: a2d673c42de4a9fa4d882bcc20fe279084edcb28
2018-02-21 03:53:29 +03:00
levlam
c3fe3f97ec
Accept formattedText in getWebPageInstantView.
...
GitOrigin-RevId: b9f2345eb170da6cbdbb6c70abf11fa682630802
2018-02-21 00:20:45 +03:00
levlam
d23f21abb0
Move fix_text_message implementation to MessageEntity.cpp.
...
GitOrigin-RevId: 24e1a7d780f5cbef62f6b2df9b4df042ab89feea
2018-02-20 05:41:17 +03:00
levlam
e936bc0130
Add set_dialog_is_pinned(DialogId) function.
...
GitOrigin-RevId: ba1973e459a8db3e1bfd5e433dbac40e965353e1
2018-02-20 04:47:55 +03:00
levlam
d7377b2a20
Better condition for dropping messages with message_id < 1.
...
GitOrigin-RevId: d9e0f45c96bebfc85c6493f46166d27879674b79
2018-02-20 03:45:17 +03:00
levlam
2576b10082
Fix failed to send message message_id.
...
GitOrigin-RevId: 9fba0bd1fb7ce8d396c0012c9537155dc20f1054
2018-02-20 03:14:47 +03:00
levlam
b676810b50
Use get_url_file_name whenever appropriate.
...
GitOrigin-RevId: 4a1f408424883c56d2017f4239cae01987bd39c0
2018-02-20 02:29:19 +03:00
levlam
d475864012
Fix suggested name for generate, local and URL files.
...
GitOrigin-RevId: 2f203b2964f4b7da08346a7147e51af027baa2d2
2018-02-20 01:28:06 +03:00
levlam
3604f1cf54
Add some debug logging.
...
GitOrigin-RevId: 6bd223bb40b2092f703d62531df13b96cb3e6066
2018-02-19 23:21:53 +03:00
levlam
0c9eb44038
Rename FileNode.name to remote_name.
...
GitOrigin-RevId: 578a0ae7728ef97b35dc8d5bcbbe7c2456a3dd6c
2018-02-18 19:29:44 +03:00
levlam
269cf358e0
Fix some spelling.
...
GitOrigin-RevId: 102622d5c1871a52d6b229f708df6305006f6137
2018-02-17 02:54:44 +03:00
levlam
617435c557
Fix can_be_forwarded flag for expired messages.
...
GitOrigin-RevId: 2e693cf8b25ebc419230bfe0d2c7aad145f4708a
2018-02-17 02:16:24 +03:00
levlam
b72fd09756
Fix get_replied_message.
...
GitOrigin-RevId: de539d5bf3f676ad67805524b7b61d60cb4f5cc3
2018-02-14 08:51:35 +03:00
levlam
841d5a1d20
Fix get_replied_message.
...
GitOrigin-RevId: 3199073da8ad8de3be08c103e48abb93caed550f
2018-02-14 08:19:50 +03:00
levlam
18b09b4ab1
Fix some logging.
...
GitOrigin-RevId: 08549f79a7ebb5b1b0b2ab9d13ab591f78103e6b
2018-02-14 00:28:16 +03:00
levlam
cc9369d49d
MessagesManager::fix_new_dialog.
...
GitOrigin-RevId: ae0f68c634031d58660b68e4f3360d017935547d
2018-02-14 00:17:00 +03:00
levlam
471bca8da0
Replace CHECK eith check.
...
GitOrigin-RevId: 6614933068233bc485f9282cc318289ce18bfd3b
2018-02-13 22:33:02 +03:00
levlam
d6e9386ca8
Always wait for mailbox in MessagesManager just in case.
...
GitOrigin-RevId: edd7c3e794a8ba7c359e780835180d07bddd7ae3
2018-02-13 20:00:40 +03:00
levlam
fb6e5883ee
Better debug.
...
GitOrigin-RevId: 3e830f42a00a12ce0f27bf3306346fbdd747867b
2018-02-13 18:40:52 +03:00
levlam
68eea6e5bd
Trying to fix last_new_message_id.
...
GitOrigin-RevId: 13b336c88be9de4340feb4930741e22f2789de60
2018-02-13 18:24:56 +03:00
levlam
ba83c2c5fc
Fix call to GetNotifySettingsQuery.
...
GitOrigin-RevId: 377df0fdce5245fb3a880fca19261411d322cec2
2018-02-12 15:20:18 +03:00
levlam
4bd61bdc86
Fix CE.
...
GitOrigin-RevId: 5f9f30f6d6c67307741cc4623d05e7f2caf53a47
2018-02-12 14:46:57 +03:00
levlam
a6ab35e616
Replace std::max/min with td::max/min.
...
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
4a3a5e1a50
Disable read messages for bots.
...
GitOrigin-RevId: b6e2d6a75296e6029db66960fceb69b568557e92
2018-02-11 19:55:46 +03:00
levlam
2cd12d5049
Add source to get_message_entities.
...
GitOrigin-RevId: af699950241416adb082a08a8f6c4e106f0fb24d
2018-02-11 19:43:58 +03:00
levlam
cc24f0edcc
Silence forward info change warning when only author_signature changes.
...
GitOrigin-RevId: a0962b6e52c473902208ba84f9a6751889254c17
2018-02-11 19:25:53 +03:00
levlam
e3867152e7
Silence now possible warning.
...
GitOrigin-RevId: 1b431d3d20c512239445f388934eba14bd8f9522
2018-02-10 04:14:27 +03:00
levlam
7c4ecdf650
Better getChatPinnedMessage.
...
GitOrigin-RevId: 092ac37109dd8e73182dd4b11a98ffe777841dc4
2018-02-09 01:54:39 +03:00
levlam
85da530056
Fix getRepliedMessage.
...
GitOrigin-RevId: afc96585c23b0bbc6c2a51f0b431ae92287901eb
2018-02-08 15:54:25 +03:00
levlam
6618f507bf
Fix missing-field-initializers warnings.
...
GitOrigin-RevId: afab2728f52c64ddbf8d2c2bf24eda3882ad471e
2018-02-08 01:15:30 +03:00
levlam
154022ebfe
Update layer 75:
...
- Add connected websites support.
- Add flag supports_streaming to video and inputMessageVideo.
- Add new methods for message loading: getRepliedMessage and
getChatPinnedMessage.
GitOrigin-RevId: 1dc5d367e27722fe9c8d2765f62ed80176eea2ce
2018-02-07 02:31:38 +03:00
levlam
ee59648564
Update inputSingleMedia constructor.
...
GitOrigin-RevId: e0c8deb905309da2a6427a9e354d9e1e01c4827f
2018-02-05 19:32:04 +03:00
levlam
35d039f42f
Add some debug logginh.
...
GitOrigin-RevId: 462cf5c2f80f708ae2494b037538241f31d08ca3
2018-02-03 18:41:10 +03:00
levlam
b9be89eff9
Ignore non-personal reply markups.
...
GitOrigin-RevId: 6dfc3d93ea3a1fdfa8a314e64f89498e050ab34b
2018-02-03 16:38:02 +03:00
levlam
5cecb37e8b
Fix migrated_to_channel preloading.
...
GitOrigin-RevId: d87246857b4a6e7d429e8e9dd835ca0678f44a2d
2018-02-03 02:48:50 +03:00
levlam
a9ed429205
Add source to get_*_id_object.
...
GitOrigin-RevId: 4d3016274a22be4a59ee088ad6f3d9c297128a08
2018-02-03 02:05:11 +03:00
levlam
c9c1586d0a
Add add_message_to_dialog debug.
...
GitOrigin-RevId: 1659b341c02f36efb30350bcca5080dc6b0de719
2018-02-02 19:51:24 +03:00
levlam
533990288b
Fix null caption handling.
...
GitOrigin-RevId: 54c7067b9b38fe77090a089423c88aabe0969712
2018-01-31 17:45:49 +03:00
levlam
aa3f1eac49
Fix formatting.
...
GitOrigin-RevId: 32bc29dbf8eb0fe6fa4c4eacad8bb57acc698830
2018-01-31 16:49:28 +03:00
levlam
5c81c0ddb2
Fix handling of null formattedText.
...
GitOrigin-RevId: 5bcde391288909e3119988cf94e223511cd22db4
2018-01-31 16:48:28 +03:00
levlam
40fa9f1798
Add missed calls to get_user_id_object.
...
GitOrigin-RevId: 9a305bc6da356ee0eef3dba9c18eb8e72b0ae794
2018-01-31 16:39:11 +03:00
levlam
5262bfa623
Better logging.
...
GitOrigin-RevId: 4b04b37167eac281d72388ec210059f07d112b56
2018-01-31 16:09:28 +03:00
levlam
04e3bfaf50
Add debug logging.
...
GitOrigin-RevId: 0efe2f3134b351d633d2df5e78791a07e212cf82
2018-01-31 15:06:19 +03:00
levlam
0b344f1c74
Fix MessagesManager::on_failed_dialog_messages_search.
...
GitOrigin-RevId: c3abb5a134cf1a393eef17b5a59eb3256cbe1656
2018-01-31 14:59:14 +03:00
levlam
e4c464b3c9
More debug info.
...
GitOrigin-RevId: 85557dfc9cd889dd08e632ad174a414d0256acee
2018-01-31 14:52:44 +03:00
levlam
a51cf7de1b
Ignore duplicate messages.
...
GitOrigin-RevId: 13a400d0fa7ca7eb31a334e4aa3e6c023445fa8c
2018-01-31 13:58:01 +03:00
levlam
536def0382
Fix has_input_media.
...
GitOrigin-RevId: f10ffc8116028849b3a0afc4ebf7169d707dd794
2018-01-31 12:18:40 +03:00
levlam
e0d303095f
Fix creation of forward_from dialog in Saved Messages.
...
GitOrigin-RevId: ebd2d54986e374ef4b495ea0f3310d9c87a12933
2018-01-31 10:44:54 +03:00
levlam
d7ecc96113
Update layer to 75. Support entities in captions.
...
GitOrigin-RevId: a633d5d57c52794da0fc1b6de04f4ff1a4ed00fd
2018-01-30 20:06:54 +03:00
levlam
4bfa015e84
Use send_closure_later in timeout callbacks.
...
GitOrigin-RevId: 21822d261a31900c94e2a37d3d3afa8240a49fc3
2018-01-30 09:16:25 +03:00
levlam
816b02e8c6
Add some debug output.
...
GitOrigin-RevId: 87f724672d2e21c4c0640b1a4e610acf51260d2a
2018-01-28 23:38:55 +03:00
levlam
0e41d96335
Send update with unknown basic group/supergroup/secret chat when its identifier is returned.
...
GitOrigin-RevId: e3c0d7904f02b79abdcbf990db1bdcf8d67591e3
2018-01-27 16:57:59 +03:00
levlam
083eba265b
Remove forward header for audio messages.
...
GitOrigin-RevId: 3e5f7d0885866bdd71f32044682e31f3a922e31e
2018-01-26 23:01:52 +03:00
levlam
dc274ea3b5
Send update with an empty User for unknown users.
...
GitOrigin-RevId: 470184a7277bbce3855ecad8acf955369370ff76
2018-01-26 22:53:20 +03:00
levlam
aed9a9da6f
Ignore duplicate updateContactRegistered even first message is already deleted.
...
GitOrigin-RevId: e95462cf0e77d2b6835d75017791f409eb1bced6
2018-01-26 18:07:21 +03:00
levlam
a40619aa64
Add checks that updates are sent only for existing chats.
...
GitOrigin-RevId: dfb433cc53b8c0b1fbe19eb90f4ec33ca086a446
2018-01-26 16:22:16 +03:00
levlam
f0e660e2aa
Better FileLocationSource.
...
GitOrigin-RevId: bed0d4f52b129560097f0877bd4b3d3511914f27
2018-01-26 15:56:19 +03:00
levlam
3def215ab8
Improve error message.
...
GitOrigin-RevId: 28cef0b6e6640307d5c56f520673da40a128fa52
2018-01-25 19:24:39 +03:00
levlam
43fc1ac4b3
Add source to set_dialog_max_unavailable_message_id.
...
GitOrigin-RevId: ca01901af04d3d51b20f136a8000e85eced49f11
2018-01-25 18:36:40 +03:00
levlam
e95d3ce469
Imptove log message.
...
GitOrigin-RevId: bda825192fbd81e89a66142594af8c122b9e3d42
2018-01-25 18:31:33 +03:00
levlam
62d8e1fd40
Send updateChatLastMessage when last chat message is changed.
...
GitOrigin-RevId: 35daed67ef38c3cd3b5f9f46a928614f9a94b172
2018-01-25 15:26:25 +03:00
levlam
b839563484
Add on_message_changed method.
...
GitOrigin-RevId: a17f882f7b8e8522f602c5236fb5ae4d99fb9d41
2018-01-25 15:00:23 +03:00
levlam
0f8e50b6e2
Send UpdateNewMessage for sent messages.
...
GitOrigin-RevId: 0911b143a16d626bd7730176f5b5ab72cff159f3
2018-01-25 14:08:19 +03:00
levlam
d59aeee9ca
Add debug.
...
GitOrigin-RevId: 8ef46733fb5284b9a2af93d137ae83f83016d0f5
2018-01-25 12:54:25 +03:00
levlam
db07c587ca
Fix views count for forwarded messages.
...
GitOrigin-RevId: 6d5d4d000ddf5fb0f2175e259e465ccacf40bd15
2018-01-24 01:35:08 +03:00
levlam
fe133efefc
Allow to create chats without network request.
...
GitOrigin-RevId: f17bbe43c58246b6ab2bd48a746b00cae5cd1865
2018-01-24 00:45:26 +03:00
levlam
c23b5ec650
Allow direct calls to Create*Chat without Get*.
...
GitOrigin-RevId: 89b5cd7b95f458c8b7b108c75d3d8c3664a25d0b
2018-01-21 17:11:09 +03:00
levlam
92c03c4b9a
Draft of get_message_content_caption.
...
GitOrigin-RevId: c01d6c4696315701681c1f50afa4011224a1fa2a
2018-01-20 23:24:07 +03:00
levlam
4a713beee1
Improve td_api::getPublicMessageLink: add possibility to get public link for media album, return HTML-code for message embedding.
...
GitOrigin-RevId: 1a7c774eec4dfde60d460d097be672120d3f9c54
2018-01-17 00:27:16 +03:00
levlam
57816d2b5f
Add td_api::searchChatsOnServer request.
...
GitOrigin-RevId: 6fc14c6503adcd8146de5eba276280bbd867b809
2018-01-16 21:56:59 +03:00
levlam
5445d920b1
Combine simultaneous SearchPublicChats queries.
...
GitOrigin-RevId: f51ed555b0758ef0cdf8afb73f276dbeb687e70e
2018-01-16 19:04:36 +03:00
levlam
224de03838
Fix updating of chat draft message faster than once a second.
...
GitOrigin-RevId: d792fefd43c9ddfc91dc0af16c7bc107eacb38ad
2018-01-13 01:21:46 +03:00
levlam
cd7de92955
Better get_next_message_id.
...
GitOrigin-RevId: bcbc48c0e68ef69a1c7e0359cb7f405a772d8bd6
2018-01-12 19:28:32 +03:00
levlam
c5fb5f1336
Update layer to #74 .
...
GitOrigin-RevId: 98c777a7dba65e49f2206ba016283b3737e80d89
2018-01-10 00:04:18 +03:00
levlam
b30bd40b50
Fix load from database of expired messages in private chats.
...
GitOrigin-RevId: 2a71ca25ce08d632b7a99cf633c7a16cd639c578
2018-01-06 23:55:51 +03:00
levlam
2bd0b62f9a
Disable deletion of old document info.
...
GitOrigin-RevId: 23a398aede9e1cae62d4e679474f9b82f55cefa4
2018-01-06 23:55:14 +03:00
levlam
bd145f18ac
Synchronously preload web pages for messages loaded in on_get_history_from_database.
...
GitOrigin-RevId: 496e0a42324cbae0bb83e6c50bf977b4a97d7c2a
2018-01-06 23:53:24 +03:00
levlam
0e4e84235d
Fix dialog reply markup if keyboard is in edited message just in case.
...
GitOrigin-RevId: 105e4ef522dbdb39b279b56cf8832ead6dbc168a
2018-01-06 23:52:44 +03:00
levlam
5cbda834bd
Update copyright year.
...
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3
Project import generated by Copybara.
...
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00