Commit Graph

2110 Commits

Author SHA1 Message Date
levlam
dc06fcb7fb Do not count deleted users and bots in online member count just in case.
GitOrigin-RevId: 9c4b5fd5df66b8e963b5ae64dd01a6d9e1b4adc6
2019-03-09 18:32:43 +03:00
levlam
5707d5b277 Handle null static requests.
GitOrigin-RevId: 4247e69ad556693fdc0084b244c4bb9804a8cc1a
2019-03-09 18:30:25 +03:00
levlam
2354a05602 Fix preloading of a previously pinned message.
GitOrigin-RevId: 2dd22b8522d94d443f8e97b54a3c2baf9d6eea63
2019-03-09 18:27:02 +03:00
levlam
87eaeb2db2 Fix division by 0 in Bitmask::get_ready_prefix_size.
GitOrigin-RevId: c16d3a9a2622d31c3ab186c350d67466e4d99bdc
2019-03-09 17:31:52 +03:00
Arseny Smirnov
347a22858c Files: fixes
GitOrigin-RevId: 5469a6c26fbb187fd52ddaf1c8bacfae4ddddbe9
2019-03-10 12:31:24 +11:00
levlam
384e96b79e Remove td_log methods from JavaScriot example.
GitOrigin-RevId: 3a0e12c648f154efbb6fb5dc212f1e517c58b838
2019-03-07 01:32:56 +03:00
levlam
65f0f78574 Deprecate Log methods in C++ and JSON interfaces.
GitOrigin-RevId: d327c2400432b309d52ed23b04e47ba6adb46682
2019-03-07 01:28:35 +03:00
levlam
d2277e5995 Deprecate Log class in Java example.
GitOrigin-RevId: 1ff3298befd963e27375c1e31fa5b22350396387
2019-03-06 22:19:45 +03:00
levlam
48077eb861 Fix setting disable_top_chats option before logging in as a bot.
GitOrigin-RevId: 0fee9765a3bdcc56dd81a7e75b2dc2e9745a70bb
2019-03-06 01:06:33 +03:00
levlam
32ac05693b Hide voter count in non-voted polls.
GitOrigin-RevId: d15190256271ad0e63ebaa83805778f8c8716df1
2019-03-06 00:12:04 +03:00
levlam
4382ceeb01 Add get_vote_percentage test.
GitOrigin-RevId: 87534944b1d1d49623dd5693bd78c295f519dbe7
2019-03-05 23:27:21 +03:00
levlam
f6a3e9037f Add vote percentage to poll options.
GitOrigin-RevId: e53ba947dc781a8db031f06bd69d03b9b9956f77
2019-03-05 23:21:10 +03:00
levlam
8fcb64e579 Compare local settings in getChatNotificationSettingsExceptions.
GitOrigin-RevId: e0ad2683e85f1a2d74206da01dfc9e60248e611d
2019-03-05 17:15:17 +03:00
levlam
0a04a466ef Send updateChatOnlineMember count when a member goes online or offline.
GitOrigin-RevId: e58d65fb71ce4b2a407101e2a494da05106b0b9f
2019-03-05 15:49:10 +03:00
Arseny Smirnov
986ce38998 PartsManager: recalc streaming_ready_size_ when streaming_offset changes
GitOrigin-RevId: e2b82154cbf9ef1f1bf4ed322f518eb0f4ead0cc
2019-03-05 10:48:50 +03:00
Arseny Smirnov
5c3c141804 tdweb: 0.2.30
GitOrigin-RevId: fde08b8084697e23ab4dad5d2d37cc45d6625d64
2019-03-01 13:47:07 +03:00
levlam
b9d73b5c47 More start_up and bots fixes.
GitOrigin-RevId: 1f72829332cea0b863cb7813b490782f0ed39db3
2019-03-05 07:35:17 +03:00
levlam
285b590058 Disable online member count calculation for bots.
GitOrigin-RevId: a53e92a44fab9375c9af318c08d119d398e2e0a6
2019-03-05 07:00:18 +03:00
levlam
8bb1747ef6 tg_cli: fix gmf.
GitOrigin-RevId: 3b6fe4514fc06bf65ce1200ab9f2f8603c65ef90
2019-03-05 06:45:14 +03:00
levlam
063e8872df Fix notification usage for bots.
GitOrigin-RevId: 4645b1c91e5bb1e6a7ef5429efe690c52a8ee257
2019-03-05 06:01:49 +03:00
levlam
d038c6b5c4 Update Chat online member count on any participants change.
GitOrigin-RevId: 6049a003d73e86d2bb30b9364a07aa3050be3a7f
2019-03-05 05:18:31 +03:00
levlam
b20d9ba6d6 tg_cli: add gmf.
GitOrigin-RevId: 6fb0ca0dc371e650bc42f6bd86601ae9d1720a26
2019-03-05 02:06:48 +03:00
levlam
1ee2b63230 Fix streaming_ready_size_ calculation.
GitOrigin-RevId: 62ad330749e88188697de7f23b525ac9e426d780
2019-03-04 00:37:25 +03:00
levlam
b13903646e Make publish_date field name consistent.
GitOrigin-RevId: 0f8df2c27e85195c5a468c49e9574b87ff3ac97c
2019-03-03 07:07:15 +03:00
levlam
0b689bdc23 Add poll search text.
GitOrigin-RevId: a7da84edd364361186db1cf0807759b94b601f95
2019-03-03 06:36:30 +03:00
levlam
dd7af98c8e Fix seqrch query truncating.
GitOrigin-RevId: 2c0ae82d21a0faf248bc6f0fc428b567fc66b031
2019-03-03 04:23:57 +03:00
levlam
03de2b47e8 Send updateChatOnlineMemberCount with 0 after chat is closed.
GitOrigin-RevId: cb5c91783cc235b340f8274cfb76ffe0b68e474a
2019-03-02 22:18:40 +03:00
levlam
a4ab41f8f8 Fix warning.
GitOrigin-RevId: 0f21169fe0d8b0ea5417f6e2a516d36f46502963
2019-03-01 16:09:06 +03:00
levlam
f1419395df Add user.is_support flag.
GitOrigin-RevId: 6c1774d309eefdb20e75e2b01e07a4738efcde81
2019-03-01 05:35:01 +03:00
levlam
f8cc501d7a Increase message unload delay for bots.
GitOrigin-RevId: ef1de21396a719670cc67f3f90c56fafa5cb4d9e
2019-03-01 04:04:02 +03:00
levlam
8edd3b3811 Fix adding thumbnails to file_ids list.
GitOrigin-RevId: 880d7b1720050685b502925aa281c6de4945e1fb
2019-02-28 21:40:57 +03:00
Arseny Smirnov
eddaa5252c tdweb: 0.2.29
GitOrigin-RevId: 18698431741774e97a8780f8e2e99f20e56b9a81
2019-02-27 20:39:05 +03:00
Arseny Smirnov
604547adc8 FileManager: fixes
GitOrigin-RevId: fd6071262f55fb803f67359b9f7e5075fcec862e
2019-02-27 19:00:10 +03:00
Arseny Smirnov
66c604f2d4 FileMananger: do not store file reference is persistent file id
GitOrigin-RevId: 6da317bcac575ed4398a8971229250c0948ee097
2019-02-27 18:08:24 +03:00
levlam
bbf67ad700 Add more documentation for Message.can_be_edited.
GitOrigin-RevId: b55252eeb968c3075e3a532058d7cf02c338b9d8
2019-02-27 03:02:19 +03:00
levlam
a7a3d3c135 Fix creating postponed getMessage requests for pinned message.
GitOrigin-RevId: 8f5136516ef01962e52d72c14bc4f6bb58e8de75
2019-02-27 02:54:15 +03:00
levlam
80edd0b059 Add UTF-8 checks for user names after they are loaded from database.
GitOrigin-RevId: e99c0b2a60791c683ad4c72b224cf6123598f756
2019-02-27 02:41:16 +03:00
levlam
0bf5825c01 Fix set_download_limit.
GitOrigin-RevId: 4f4e77bde657d6586ffbe861e1affc6b3c14d4a2
2019-02-27 00:42:54 +03:00
levlam
bb5ffc0c8c Channel statistics support.
GitOrigin-RevId: 39d17de81087c9789b6c717cf1ed5f01edc6360b
2019-02-26 23:37:59 +03:00
levlam
f1519230c9 Update member online count from time to time.
GitOrigin-RevId: 8b9e0f4d922a17c0f14755289a25e91b1ab4c6fc
2019-02-26 18:24:46 +03:00
levlam
60e5854fcf Send updateChatOnlineMemberCount whenever dialog is opened.
GitOrigin-RevId: e85a9f04705da10e6b148d0d4c1b843241620c42
2019-02-26 03:41:49 +03:00
levlam
8795d002de Add updateChatOnlineMemberCount.
GitOrigin-RevId: 3c4a21b924acc4c5ff9af66a4d8c9d13b6effd26
2019-02-26 03:24:33 +03:00
levlam
5d8f7569b6 Add logging.
GitOrigin-RevId: c58fb67d9332f83a9c39ac8f3b02dc25beb98629
2019-02-25 21:55:45 +03:00
levlam
f3be5d6534 Return PasswordState from confirming recovery email address methods.
GitOrigin-RevId: 0f897eeac6b09dd6edcfe1237226e7df7116a175
2019-02-25 21:37:26 +03:00
Arseny Smirnov
ffd7b166d9 PartsManager: fixes
GitOrigin-RevId: 7e4c663f53aa8b146cf9119ddf8e9fa680bb738b
2019-02-26 17:14:07 +03:00
levlam
e9ba66858d Delay non-awaited combined queries.
GitOrigin-RevId: c6f444bf0b78892afd60ab0015f51afde1fc70c3
2019-02-25 20:44:28 +03:00
levlam
a2a864852d Do not store empty promises in QueryCombiner.
GitOrigin-RevId: 5222075d6722008902b0337d2aee369aee0f005c
2019-02-25 19:27:06 +03:00
levlam
40ae8b9fd5 Disallow forwarding of local polls.
GitOrigin-RevId: a83397233c86ff791eda2c1cd39be77ee8488307
2019-02-25 19:19:01 +03:00
levlam
35d3be72f3 Add CHECKs in register_poll/unregister_poll.
GitOrigin-RevId: 5e87cf053b6b174dd20070a8a1b1d45874080ec7
2019-02-25 19:12:35 +03:00
levlam
2c2866b5fc Add simple QueryCombiner.
GitOrigin-RevId: b863a06adff6ed010424ca42be338c410a487ccb
2019-02-25 06:08:18 +03:00