Commit Graph

178 Commits

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