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 |
|