Commit Graph

2320 Commits

Author SHA1 Message Date
levlam
08235274ed Add more sanity checks for pinned message notification.
GitOrigin-RevId: adb6f444912dcad336df9fec6dab669e362c7ba2
2019-04-14 21:39:33 +03:00
levlam
bf95e2f051 Fix removing pinned message notification.
GitOrigin-RevId: d01a6d955944f5990c59fc5a1e565f7d9956bcb3
2019-04-14 04:11:00 +03:00
levlam
03945ea7b9 Do not log error about early received pinned message.
GitOrigin-RevId: f840bd03c6e90c6bc1796c5160ce695b35444543
2019-04-14 00:39:04 +03:00
Arseny Smirnov
bc13613a24 tdweb: minor
GitOrigin-RevId: a5195050ce00490a930f4e75142995fa26260b4e
2019-04-13 23:43:29 +03:00
levlam
67c9d568ae Fix detecting of silent push notifications.
GitOrigin-RevId: 3fb75cf469bc0a069c0d34c82b02d2c629e64724
2019-04-13 23:09:42 +03:00
levlam
2585f5efae Allow to revoke call messages in private chats.
GitOrigin-RevId: 3ede20dcb6f01a9cb69977b7964a7093d2fb59a7
2019-04-13 22:47:51 +03:00
levlam
f15fa69d3b Describe, why switch_inline_query buttons can't be used in channel chats.
GitOrigin-RevId: c30c892637a077891fc819d67b9dcfe635b7ccbf
2019-04-13 21:59:29 +03:00
levlam
801dbc8f6f Add td_api::addLogMessage.
GitOrigin-RevId: 7ad16cacd59eef90bcd5f55729847d4699bbff64
2019-04-13 21:40:31 +03:00
levlam
c4cafa9456 Fix Lua examples list.
GitOrigin-RevId: 1fbe184cf2b733e5470b82dc64b31e1b32140c3a
2019-04-13 20:20:29 +03:00
levlam
c2ed2836c0 Fix CE.
GitOrigin-RevId: 55e3d4160ecb48f39fefd03d825f7a6b25529ef3
2019-04-13 20:08:50 +03:00
levlam
5bfc7ae78a Add get_erase_logevent_promise debug.
GitOrigin-RevId: fb81db952f53ce753948c9c213161f2c0cf6c26b
2019-04-13 20:07:02 +03:00
levlam
a46a9a33dd Do not create input_media for unfinished uploads.
GitOrigin-RevId: 8983548156fdf61795054dd7c01895348df4e009
2019-04-13 19:59:52 +03:00
levlam
fec4bfef2b Add more logging for media albums.
GitOrigin-RevId: c7190ec3c28c1ce030dea91d3b29ccd21af6b1c3
2019-04-13 19:48:57 +03:00
levlam
b1a1635ce7 Fix adding too new messages.
GitOrigin-RevId: 3874c25b07674608d8a4cef61cd4801ce6a5f115
2019-04-13 16:50:06 +03:00
Arseny Smirnov
30a526f2f0 tdweb: fixes
GitOrigin-RevId: 39cbb2f7a38cf15dd1bcddf417dad0a878b09337
2019-04-13 14:55:52 +03:00
Arseny Smirnov
ae71aaf3c2 tdweb: startup time optimizations
GitOrigin-RevId: 9606d197116278d512633e950e475467c876221d
2019-04-13 14:17:03 +03:00
Arseny Smirnov
af6632390a tdweb: optimize start time
GitOrigin-RevId: e98973c0b61a09e74f5eb327080eab63781b5754
2019-04-12 21:23:17 +03:00
levlam
6e05b22a0f Silence warning.
GitOrigin-RevId: f4180d156618988d9dabea1f088264c7ae633e1a
2019-04-12 16:20:18 +03:00
levlam
b2c4fa4be8 Move logging from WARNING to INFO.
GitOrigin-RevId: 69e355d62add494909f72af97f1032c11c7dff4f
2019-04-12 03:31:26 +03:00
levlam
af39698707 Add reply_markup to stopPoll.
GitOrigin-RevId: 08cf68d42ecc6c25cd8ec7146fb7e3b1856a7207
2019-04-12 02:10:33 +03:00
levlam
542c4d374d Do not preload pinned message for bots.
GitOrigin-RevId: 5d260435a24af21394e133275d01f6e93c7adbeb
2019-04-12 01:03:27 +03:00
levlam
cb856f55a1 More consistent log out checks.
GitOrigin-RevId: df749bf0a8234d5ed537b1a7200d4a3ee037eb7d
2019-04-11 23:32:19 +03:00
levlam
c435360799 Add more td_init logging.
GitOrigin-RevId: 98b5a8e3234ec57cb24d833c726c6d1c2d938992
2019-04-11 23:24:39 +03:00
levlam
b0724c1f32 Fix example init parameters.
GitOrigin-RevId: d76f426abd73ff914ee07e91f1b600dc5854e233
2019-04-11 23:09:52 +03:00
levlam
6376ed09d0 Silence unneeded notification log event errors.
GitOrigin-RevId: 5f2d00d2575162944f80f2691d5b896950e93d35
2019-04-11 17:13:42 +03:00
levlam
589edf60b1 Really fix documentation.
GitOrigin-RevId: 0114466a4d0b97c8f8ab336fb30f780eac4010c5
2019-04-11 01:01:48 +03:00
levlam
56bc1548ff Fix documentation.
GitOrigin-RevId: 84730331f206451dee9232611f7af985792bd766
2019-04-11 00:59:57 +03:00
levlam
88788b2460 Fix forcing updates in remove_notification_group after removal of temporary notifications.
GitOrigin-RevId: 93cc36bc85eb5f2ac5ec9e98a3766408f967544d
2019-04-10 23:54:03 +03:00
levlam
009c78ce5b More cases for temporary notification removal.
GitOrigin-RevId: 0f617980b80f94cc415fbda922c7462ca4675045
2019-04-10 23:22:03 +03:00
levlam
59f36b3b3d Add more debug.
GitOrigin-RevId: f435e1b8531f02092f218189853afc54c47e83b2
2019-04-10 16:37:06 +03:00
levlam
d6e7521aa1 Skip dialogs with unsynchronized group_id.
GitOrigin-RevId: 275014f1c68da71bec5fb63464857babdb90f101
2019-04-10 15:37:06 +03:00
levlam
3afcaa67f8 Add more being_added_message_id debug.
GitOrigin-RevId: 248551b7fb837863e363d548c450e547353facef
2019-04-10 15:22:34 +03:00
levlam
4859485768 Do not erase DeleteMessage log event while closing.
GitOrigin-RevId: 588eeb309964f489186c4614d0dca4c820aedf39
2019-04-10 13:42:46 +03:00
levlam
2ccd37584f Delete downlaoded files when a temporary message push notification is deleted.
GitOrigin-RevId: c0ad85377cf336d98fa5d79697f0389e3c65ec7c
2019-04-10 01:57:15 +03:00
levlam
d42df63ba9 Add Document.get_file_ids method.
GitOrigin-RevId: a885722f10800b5d64ac6f398a4526c874bd2668
2019-04-10 00:55:54 +03:00
levlam
9f5096cd6f Remove copy-paste in remove_temporary_notification_by_message_id.
GitOrigin-RevId: aca8168793e3067b97e90905c4b5e20c01ff3662
2019-04-10 00:37:07 +03:00
levlam
3ac5039912 Delete files from edited message.
GitOrigin-RevId: ac5a68b8f34296df1c918e8b1240eda86a6e4605
2019-04-10 00:13:47 +03:00
levlam
accd15d78c Fix return type documentation in function constructors.
GitOrigin-RevId: f5311028ad942622a92eb72ddc6eda87b40fea35
2019-04-09 23:58:11 +03:00
levlam
f819797ae1 Add title to pushMessageContentChatChangeTitle.
GitOrigin-RevId: e457e2e74dc51db490e156613e7c2d282d455234
2019-04-09 23:43:53 +03:00
levlam
082ba9e020 Add document contents to pushMessageContent.
GitOrigin-RevId: 5baa4853f4e47d9f50f23ca74ebbed0369f17558
2019-04-09 23:39:41 +03:00
levlam
46a0b0036d Add Document.hpp.
GitOrigin-RevId: e26a6aa44453c2a5e2216d91782e94f5bda9686d
2019-04-09 18:52:53 +03:00
levlam
dc79cdc0b1 Add Document class.
GitOrigin-RevId: e1a5a8235f341cf0955ee37086a99a17e7b123de
2019-04-09 18:38:57 +03:00
levlam
78704b6918 Immediately send updateNotification for pushes.
GitOrigin-RevId: 7f9ed64f17219e772256b0790586e691bae49d0a
2019-04-09 17:43:56 +03:00
levlam
47d8d3223a Add photo and caption to pushMessageContentPhoto.
GitOrigin-RevId: 66a0cd47bf2dc7e8cba2f0d6d3a68151df2be20c
2019-04-09 17:33:27 +03:00
levlam
b448160ad6 Send updatePoll for being closed polls.
GitOrigin-RevId: 3e2302d838e5d5dc03b0f6d5b164081b64b1c0eb
2019-04-09 13:25:29 +03:00
levlam
2ca710a26f Better error message, when closing a closed poll.
GitOrigin-RevId: f43d49df5a2435c1cb1e5715feeb10d3e08c20a4
2019-04-09 11:03:14 +03:00
levlam
bbc3bd7441 Do not allow polls with 1 option.
GitOrigin-RevId: d959269ff926ce6e495336f36d1edea1a78abb75
2019-04-09 03:39:05 +03:00
levlam
3466565792 Immediately return success from processPushNotifications in some cases.
GitOrigin-RevId: 83fe0f98632721683cae5ab2be0ca5e082d93b6c
2019-04-09 02:38:53 +03:00
levlam
86471c5ff9 Send result of processPushNotification with a small delay.
GitOrigin-RevId: f2530099606505f4e3c4b3bbcde82b0bd762661c
2019-04-09 02:07:35 +03:00
levlam
fe9f1e52d2 Add more DcId checks.
GitOrigin-RevId: ca4bfdc046e78ef7e216c8a5bda8e5ddcd88cfec
2019-04-09 01:37:20 +03:00