Commit Graph

3693 Commits

Author SHA1 Message Date
levlam
01bb9073d8 Fix warning.
GitOrigin-RevId: 8f4e58bed82ba340b440f4cfd828e8a9cd6884ea
2020-02-29 21:57:42 +03:00
levlam
c0c87e5560 Add notificationTypeNewPushMessage.is_outgoing.
GitOrigin-RevId: c7ef758bef2b49cd08cab73520c2814e039e2154
2020-02-29 21:42:02 +03:00
levlam
44b31537aa Add "disable_sent_scheduled_message_notifications" option.
GitOrigin-RevId: ad57858024b07b51b89d7b3c28faf20c3e7577da
2020-02-29 21:17:30 +03:00
levlam
0a5d563a2f Fix MessagesManager::get_next_yet_unsent_scheduled_message_id.
GitOrigin-RevId: 2a3a76652e809d46b5395f8cfd505ae625e30459
2020-02-29 20:36:49 +03:00
levlam
e0f27dd9c0 Do not try to use PHP on HardenedBSD.
GitOrigin-RevId: 9418dd2c90cc35a930342376bd65711428c29333
2020-02-29 16:15:52 +03:00
levlam
d83d8a4977 Supress updateNewMessage for scheduled messages from database and received before first return of the scheduled messages list.
GitOrigin-RevId: e04e707c23259ce1ea9b651164ddf7df91ccb4a1
2020-02-28 23:01:30 +03:00
levlam
dd6e52418c Better repair of has_scheduled_server_messages.
GitOrigin-RevId: eb1ebac91773ce3a7306a252afe98d2a1a9686fa
2020-02-28 21:40:31 +03:00
levlam
cf8254b2c9 Update has_scheduled_server_messages after receiving all scheduled messages.
GitOrigin-RevId: 5eb7947469f5470c4670c9d2db794d07cd81dcce
2020-02-28 17:39:26 +03:00
levlam
e48199f6c0 Add get_dialog_has_scheduled_messages.
GitOrigin-RevId: 1733e3d3878950e196a2f7a31436f16c5ec4c6d0
2020-02-27 22:39:06 +03:00
levlam
5fef27af1b Add parameter force to get_dialog_scheduled_messages.
GitOrigin-RevId: 1876be0d4de852aa3508810c491e3bb073ae0384
2020-02-27 21:31:19 +03:00
levlam
fe462698bc Repair scheduled messages after deletion of last known scheduled message.
GitOrigin-RevId: 5ccb76b94ed954d7067033a932e248501b8e2fd0
2020-02-27 21:15:55 +03:00
levlam
92df8f9827 Remove unneeded brackets.
GitOrigin-RevId: 0b8a2ae21d28e6c276db8b45ffb4d127800f5d73
2020-02-26 18:15:19 +03:00
levlam
c3f802f55f Monor fixes.
GitOrigin-RevId: 54ffc796bf71a9337476e2d2c43b3b83da53487a
2020-02-26 17:42:56 +03:00
levlam
24e2dcd590 Reregister edited scheduled messages.
GitOrigin-RevId: 72d2f5804fb6fb7dc5e4fb026dd1ef6640ee63f6
2020-02-26 16:26:25 +03:00
levlam
63f8828003 Fix Mozilla DNS.
GitOrigin-RevId: fe9b90187b5c688272ef399799b7faa029cdcd95
2020-02-26 16:17:43 +03:00
levlam
801137dcf3 Repair scheduled messages after receiving opposite server flag.
GitOrigin-RevId: 5cead2b4fd6c52835b5dc775efaa9c855d72feb3
2020-02-26 00:28:03 +03:00
Arseny Smirnov
8e0baa9b16 get_emojis_fingerprint: simplified, uses bswap64 now
GitOrigin-RevId: a5ac0742dfa45fc9fb59e75d8cfd302fe666f483
2020-02-25 12:47:31 +01:00
levlam
c407b244a0 Prevent extensive pinned message loading from the database.
GitOrigin-RevId: 4365b7bf0c95a89f616731a78017a2f4a15bd1d9
2020-02-25 05:14:43 +03:00
levlam
f1d2d0751a Add comments about the target to which installed files belong.
GitOrigin-RevId: 14959d08e50276e5a7c42984881ffe19b5c25668
2020-02-25 02:47:33 +03:00
levlam
e14d15196c Repait broken entities instead of clearing.
GitOrigin-RevId: 7044b000997b7415f55caa1610c418a76c7ea793
2020-02-25 01:46:30 +03:00
levlam
2ece58302c Add more checks to random fix_formatted_text test.
GitOrigin-RevId: e0bf70edf7d93032a4a1ee964fd37b7374f3a4e5
2020-02-25 01:28:33 +03:00
levlam
4cb43a2786 Add support for entities in captions of incoming secret chat messages.
GitOrigin-RevId: 126de54c7b346431fc901a953fcc72f3bc88985c
2020-02-25 00:30:47 +03:00
levlam
0d45de3ffb Add support for entities in captions of outgoing secret chat messages.
GitOrigin-RevId: a7267004625b2c1d7235d961ade06587f107420a
2020-02-25 00:07:39 +03:00
levlam
182caecccc Simplify get_message_content/get_secret_message_content implementation.
GitOrigin-RevId: 833a59386271a665050c57b5737a12bd2e336f97
2020-02-25 00:06:29 +03:00
levlam
81d0172f33 Correctly merge new entities.
GitOrigin-RevId: 6ca976a3c17030cffb0c32119389ea5a8c1050ff
2020-02-24 20:26:08 +03:00
levlam
c17bb8a163 Add tdapi target. Fixes #936 by @dseight.
GitOrigin-RevId: 57e03c58b6bcde26330c3bd0538549acccc58c1b
2020-02-24 03:27:06 +03:00
levlam
b007747dce Use separate CMake variable for td_api sources.
GitOrigin-RevId: ed1828a2202a69c71e620bdf5a1883aa8799d35e
2020-02-24 02:00:43 +03:00
levlam
3a5242151d Improve CMake variable names.
GitOrigin-RevId: 30a12d01f3f96beda159f055c5d0fd0d3088db74
2020-02-24 01:55:13 +03:00
levlam
46a958212c Fix some link dependencies.
GitOrigin-RevId: 12d110232437c787821c49d884dca9335c6e3eeb
2020-02-24 01:29:51 +03:00
levlam
bffbded1d5 Remove unneded dependency.
GitOrigin-RevId: 731d75ab26fd9a6322b8c630adba4295d1dd9093
2020-02-23 23:50:22 +03:00
levlam
419ecd5904 Remove useless forward declarations.
GitOrigin-RevId: 4cc2b0e76ff6af8408a261858292053c7b15a17a
2020-02-23 23:00:51 +03:00
levlam
e34058c16f Optimize TlBufferParser for empty strings.
GitOrigin-RevId: fb796f93d84a32c90f9420029b89e0f7fe169869
2020-02-23 22:44:14 +03:00
levlam
c5f3b2223c Add more logging in to_unix_time.
GitOrigin-RevId: 1e191c31e4be4a29584844f27b098a21811daffd
2020-02-22 19:31:08 +03:00
levlam
04a002d9f3 Add source to register_message_content.
GitOrigin-RevId: 035429321a0fa15ea8918c634b19f12c21fc1d61
2020-02-22 19:21:58 +03:00
levlam
283a82cfa3 Disable automatic dialog action timeout in chats with bots.
GitOrigin-RevId: 69e0d54d329a2bef15269623d14e0770dffd120e
2020-02-22 19:03:52 +03:00
levlam
adfedb169d Move some logging from INFO to connections.
GitOrigin-RevId: 304da251bcc1860e8b13fb0c38077a9c7d44c13c
2020-02-22 18:53:56 +03:00
levlam
8bece302a8 Fix network stats since_date by authorization date.
GitOrigin-RevId: 6842226e768d1d500e60eec1491b6adbda1098a5
2020-02-22 18:46:16 +03:00
levlam
6a56320b06 Fix saving new channels to database.
GitOrigin-RevId: 77074cfbec8299dfc0be9ba70a79afc1e7c3256a
2020-02-22 17:04:15 +03:00
levlam
c77a576e83 Improve random fix_formatted_text test.
GitOrigin-RevId: 904278ac9f8c36afdddfdd4f23d74102c68f09c6
2020-02-21 17:10:10 +03:00
levlam
6b21b27cae Add random fix_formatted_text test.
GitOrigin-RevId: 35d2bf822bfebe4221a3495bb83fb2555a984a1c
2020-02-21 16:22:40 +03:00
levlam
185d0fd22f Add more fix_formatted_text tests.
GitOrigin-RevId: c24e52c88921226d63fead4dbf7331921bd8f185
2020-02-21 14:56:26 +03:00
levlam
962ea55765 Support splitting and combining entities and Blockquote entities.
GitOrigin-RevId: ebbc6988020afda9dded513f16ab1f7ca3b9ea35
2020-02-21 12:38:24 +03:00
levlam
48b9f38d4a Return error on incorrect text entities.
GitOrigin-RevId: 46862113571eb16a80ef3bcdf3a6352593dee0dc
2020-02-20 02:26:36 +03:00
levlam
d9e2e02897 Improve documentation.
GitOrigin-RevId: 5e6900e018445200d630b79318268a0dca2112dc
2020-02-19 20:31:20 +03:00
levlam
b80bb038d9 Copy channel.member_count from database.
GitOrigin-RevId: 84c8dd3fda25029d882dc84989499c0416cfc2e2
2020-02-19 20:24:37 +03:00
levlam
dafbedaefe Improve reading chat history.
GitOrigin-RevId: 82e2fc0ca2cbf1c59507fb74120732433ac15603
2020-02-19 20:02:42 +03:00
levlam
9862652e14 Use the exact file size instead of the real file size in fast storage statistics on Windows, because the real file size is smaller then expected before the file is synced.
GitOrigin-RevId: 451231c899c1b6c6b80b46e2cb42bd3b94def0a5
2020-02-19 17:57:30 +03:00
levlam
58dc8dd207 Fix initialization order.
GitOrigin-RevId: 659420ed3d74c5980a0a577ffbd78fdcfbee6fb2
2020-02-19 05:26:45 +03:00
levlam
468523230a Improve SparseFiles test.
GitOrigin-RevId: 19d23d82d32cf4aaec57fb258cf93b70cfba5637
2020-02-19 04:55:25 +03:00
levlam
811c4ed95c Add database path to most database errors.
GitOrigin-RevId: 469033593d39a542d517d328de546d24c76c77b1
2020-02-19 04:34:55 +03:00