Commit Graph

190 Commits

Author SHA1 Message Date
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