Commit Graph

2905 Commits

Author SHA1 Message Date
levlam
b7af94e2e4 Make RSA::encrypt safe.
GitOrigin-RevId: 0d83acb2f6c022af59320c3ea755257cd926cbe4
2020-02-13 03:49:59 +03:00
levlam
fa457236e0 Ignore duplicate auth notifications.
GitOrigin-RevId: 103e8ca99f2b2e35455ccd426a415177287bd814
2020-02-13 03:03:50 +03:00
levlam
a7e6deeab5 Add more checks that updateNewChat was sent.
GitOrigin-RevId: deaaef2b986c3d780ad7f06007b2719ff34d7a65
2020-02-13 01:22:25 +03:00
levlam
fb0bf583ea Better log messages.
GitOrigin-RevId: 75b00311ddb4775305ca235f5276d5b0dd328bf1
2020-02-12 20:25:39 +03:00
levlam
6fa11510e0 Add more DC migrate prefixes.
GitOrigin-RevId: 78a225cc24dc41e1f7c716d465f973d637d5ce7b
2020-02-12 20:01:27 +03:00
levlam
9964c011ec Allow report private chats with users sharing their location.
GitOrigin-RevId: f1b546ea71a534436e487d4a644b4001bd274e09
2020-02-12 03:05:54 +03:00
levlam
190419bf8b Early exit from fill_gap on closing.
GitOrigin-RevId: 1c31a0a673ae9aa6b091361cd3f86a2f3b6a40f2
2020-02-10 02:56:32 +03:00
levlam
945a3a1dc3 Fix applying of postponed updates.
GitOrigin-RevId: 924efd81a5dfd4235f55a0ddfdf1c94b76fd8dd2
2020-02-08 23:31:27 +03:00
levlam
660acfef22 Allow outdated unacceptable updates to avoid getDifference after trying to apply every such pending update.
GitOrigin-RevId: 61944ec2b4e81fa2ca61bee5887220964e0c9cbc
2020-02-04 04:06:20 +03:00
levlam
d56696c9da Better logging on applying postponed updates.
GitOrigin-RevId: b42003117c3a4cb7bf3bed8485dad4a04ca94938
2020-02-03 20:13:37 +03:00
levlam
cb06867664 Do not warn about empty profile photos without access hash.
GitOrigin-RevId: 37700459f403505fdfc9099f4916ea34b970c95c
2020-02-03 17:31:29 +03:00
levlam
c41640df44 Workaround MSVC 19.4 Internal Compiler Error.
GitOrigin-RevId: 8fcb018f353bbf1d68d2e0253d4472656d196845
2020-02-01 07:43:54 +03:00
levlam
278c7acdec Increase version to 1.6.0.
GitOrigin-RevId: baab600dbf0b3f4014b836e06da09b9b825181d4
2020-01-31 03:47:49 +03:00
levlam
4f7763f6fb Add a comma,
GitOrigin-RevId: 37194c038eb13d2e6246ffb374dc3cea4c14478e
2020-01-31 03:47:28 +03:00
levlam
a72bf60049 Fix clang 3.4 false warning.
GitOrigin-RevId: 39f7789760311a99cfad31451335d6eda5cbdf21
2020-01-30 04:56:08 +03:00
levlam
c99103afce Fix test.
GitOrigin-RevId: 6f2a9eec68042949d10d8a4513d176e57f603146
2020-01-30 04:06:15 +03:00
levlam
c2bd1ef4b0 Minor.
GitOrigin-RevId: 297f9332431ae7b3e1b3578ea61e6a59d5cfd068
2020-01-30 01:50:28 +03:00
levlam
488437ff3b Add more debug logging.
GitOrigin-RevId: d48a29d6fd53da7790656a4de1459d8354e79f20
2020-01-29 02:38:04 +03:00
levlam
8539d43951 Silence warning about wrong message entities for messages from albums.
GitOrigin-RevId: 13a60e258ab6aae8c80d5ea4cd8bb7037f56985c
2020-01-29 02:05:12 +03:00
levlam
5e0df6f352 Remove unused variable.
GitOrigin-RevId: 82b19ad7cbc3ef47e88e593919274d820ec77e3b
2020-01-27 17:09:12 +03:00
levlam
9f82e847f3 Do not include MessageContent.h in MessagesManager.h.
GitOrigin-RevId: 7fb80f10bbc2a51a971b60ab470b6f9c8c249672
2020-01-27 16:10:59 +03:00
levlam
c07225c371 Add MessageContentType.cpp/h.
GitOrigin-RevId: 3e9390cea6b566980f7d2d8a7d5efa9b81ec2434
2020-01-27 16:06:00 +03:00
levlam
e60cf58d68 Reget profile photo on LOCATION_INVALID.
GitOrigin-RevId: ca1b929d21537a403d1893bcb79c1a7a61694ad7
2020-01-27 14:39:19 +03:00
levlam
a89654c3a9 Remove some debug variables.
GitOrigin-RevId: 98b80744574adaa92dea450db049cd166565fc48
2020-01-27 14:28:18 +03:00
levlam
4293e4bec1 Fix some includes.
GitOrigin-RevId: 760f9d7e09881bfc061a78118008cf7fdf4660f4
2020-01-27 04:54:01 +03:00
levlam
4a1125887a Move update_used_hashtags to MessageContent.cpp.
GitOrigin-RevId: 67b8a3defbc9f2249dff0d57a40bd42ec743cd39
2020-01-27 03:34:23 +03:00
levlam
e666d10c8d Do not include TopDialogManager in MessagesManager.
GitOrigin-RevId: 364ebfc86bc49d8b64a60a82a3383210531774c3
2020-01-27 03:25:23 +03:00
levlam
985e051bbe Add TopDialogCategory.h.
GitOrigin-RevId: ce481612a17e38268b8b2c3a9d7b9ebad5cb572d
2020-01-27 03:19:54 +03:00
levlam
c36d45153c Move resolve_dependencies to Dependencies.cpp.
GitOrigin-RevId: a14d38050af2a7d24f87642e63147642603a7ea5
2020-01-27 03:09:05 +03:00
levlam
129f96da69 Send updateMessageContent when WebPage is changed.
GitOrigin-RevId: 8e20fd788a4f5333f686d96241459774319ac8d7
2020-01-27 02:55:18 +03:00
levlam
9f2870a5a0 Do not send updates if web page is not changed.
GitOrigin-RevId: 4626b571aca295c6fd3d35f10a2494aafb34f581
2020-01-26 04:59:19 +03:00
levlam
4b10b66065 Add Darwin specific algorithm.
GitOrigin-RevId: 7a48335cb2089adfa34d6637c8f484750686ada3
2020-01-26 01:39:22 +03:00
levlam
eae92b214a Really fix too long TLS-proxy domain.
GitOrigin-RevId: a07726e8bb75b467d26043d6c9b4ad834a961567
2020-01-26 01:22:07 +03:00
levlam
182e8d29f0 New domain for DoH.
GitOrigin-RevId: 0ff1b52e9b8fade7ffa50e099789dcb3d12914ec
2020-01-25 23:36:49 +03:00
levlam
f2a4d70865 Register scheduled message contents.
GitOrigin-RevId: 1942ff1c3976ee24969d1c25a94fb89639ffa906
2020-01-25 04:00:43 +03:00
levlam
67e4871ea0 Add reregister_message_content.
GitOrigin-RevId: 53c250a8e805dba37dc4ee255472935762ee609a
2020-01-25 03:50:23 +03:00
levlam
21f1f4510c Add error on too long proxy secret.
GitOrigin-RevId: 14321993a0793cf454a0e12de4109dbd0c180b67
2020-01-24 18:33:17 +03:00
levlam
3a78a9160b Improve logging.
GitOrigin-RevId: 0031ef075ec02edf1257674fa69412609eaec4d7
2020-01-24 16:43:37 +03:00
levlam
59f938405e Restrict proxy server name length.
GitOrigin-RevId: d2e18866ff7fd977655cf27c3295b716237d92c7
2020-01-24 15:57:28 +03:00
levlam
2f9db6e6e6 Improve error message.
GitOrigin-RevId: c61623277759527102a48d2e6b8992ee87c90beb
2020-01-24 06:33:47 +03:00
levlam
c08084b1e6 Apply correct_option_id from closed min-poll.
GitOrigin-RevId: ef1641a295c1022ee6d4cec9a28e30927f25e85b
2020-01-24 04:43:19 +03:00
levlam
6e793813d1 Simplify creation of TL_*_AUTO lists.
GitOrigin-RevId: 97a877bf265248209973ab98807b5ac9c49cd63f
2020-01-24 03:09:49 +03:00
levlam
43530660ec Rename TL_TD_AUTO_INCLUDES to TL_TD_AUTO_INCLUDE_DIR.
GitOrigin-RevId: ed018a6afe88d9665c607db0c5aaccc7a772f844
2020-01-24 03:05:58 +03:00
levlam
0198711920 Allow to change CMAKE_INSTALL_BINDIR and CMAKE_INSTALL_INCLUDEDIR.
GitOrigin-RevId: 5704095d127c7fcf2450133745ab2ac546a1177f
2020-01-24 03:03:18 +03:00
levlam
970cbe1c97 Do not call get_active_live_location_messages while adding just loaded from database live locations.
GitOrigin-RevId: 078ed7af9e7f31eaf207751b25542c224c851f82
2020-01-24 01:16:18 +03:00
levlam
84ecdac7be Resave live location list if some locations expired.
GitOrigin-RevId: 35b949ff6735f4a060a1c7e4af6153eb607d1962
2020-01-24 01:14:43 +03:00
levlam
590e8efcb4 Improve logging.
GitOrigin-RevId: 1cef0e92ceb9cec005ebb693303d8fd808338771
2020-01-24 01:08:21 +03:00
levlam
1dfeb5d176 Fix updating server_time_diff.
GitOrigin-RevId: dfc1b558a4724a49daef145bc69f5a8f3d834124
2020-01-24 01:07:53 +03:00
levlam
6b1ef9d66d Fix SplitSource build.
GitOrigin-RevId: 8a59347e5f18e5774111c85be0ac5e6045eb59a9
2020-01-23 17:49:51 +03:00
DarkKeks
f3480b94d7 A few typos in docs (#885)
Fixed a few typos in docs
2020-01-23 17:47:08 +03:00