Commit Graph

7655 Commits

Author SHA1 Message Date
levlam
17f407abfb Move is_anonymous to AdministratorRights. 2022-03-22 12:09:43 +03:00
levlam
a7a6ee25cb Add pq_add_mul static function. 2022-03-21 20:57:47 +03:00
levlam
2ae689f54f Add another pq_factorize test. 2022-03-21 20:43:28 +03:00
levlam
dfe41c9a0d Remove too new messages in on_get_history beforehand just in case. 2022-03-21 20:14:26 +03:00
levlam
ac4e273274 Move logging of expected errors to ERROR. 2022-03-21 19:52:07 +03:00
levlam
93a2b9895d Optimize GCD in pq_factorize. 2022-03-21 19:38:40 +03:00
levlam
cb155ebf1a Improve log message. 2022-03-21 10:24:20 +03:00
levlam
6e86faaa0f Improve factorization tests. 2022-03-20 00:01:07 +03:00
Marco Melorio
1d15bafb50 Update renamed tdlib rust lib.
The tdgrand library has been renamed to just 'tdlib'.
2022-03-19 22:17:32 +03:00
levlam
cb063ac210 Remove wrong CHECK. Fixes #1892. 2022-03-19 21:58:10 +03:00
levlam
4d13e1354e Move ChannelParticipantFilter to separate header. 2022-03-19 21:53:33 +03:00
levlam
26c18680f2 Move DialogParticipantFilter to separate header. 2022-03-19 21:37:46 +03:00
levlam
329e351e09 Simplify DialogParticipantStatus constructors. 2022-03-19 20:34:16 +03:00
levlam
a8df27c3d9 Add get_administrator_rights function. 2022-03-19 01:22:45 +03:00
levlam
5d71289b72 Move get_dialog_participant_status to DialogParticipantStatus constructor. 2022-03-18 19:13:22 +03:00
levlam
f8e8bc6035 Move restriction flags to RestrictedRights. 2022-03-18 18:47:34 +03:00
levlam
2c38e261d2 Reuse RestrictedRights::get_chat_banned_rights. 2022-03-18 18:27:10 +03:00
levlam
0c9943c42e Remove separate GET_RESTRICTED_RIGHTS flags. 2022-03-18 18:14:39 +03:00
levlam
d913e6ec0e Add get_effective_restricted_rights. 2022-03-18 17:50:55 +03:00
levlam
07b4f6c16d Remove duplicate administrator flags from DialogParticipantStatus. 2022-03-18 16:56:22 +03:00
levlam
d97d20a420 Reuse AdministratorRights get_ methods. 2022-03-18 16:25:07 +03:00
levlam
163bfbcc7a Reuse AdministratorRights and RestrictedRights methods. 2022-03-18 16:07:14 +03:00
levlam
aa80935b73 Add class AdministratorRights. 2022-03-18 15:44:41 +03:00
levlam
9233d32b8e Fix misprint. 2022-03-17 23:33:02 +03:00
levlam
a434bad933 Improve error messages for forwards of messages with protected content. 2022-03-16 15:56:01 +03:00
levlam
3f54c301ea Update version to 1.8.2. 2022-03-15 20:09:29 +03:00
levlam
c9441d78be Allow to send MentionName using TextUrl entities. 2022-03-15 14:49:05 +03:00
alyral
a78245ee69
Add more Settings links (#1884) 2022-03-14 20:13:59 +03:00
Andrea Cavalli
48a93aadb9
Support function generic result type (#1809)
Fixes #1708
2022-03-14 16:29:17 +03:00
levlam
ccf2da2865 Move find_package(ABSL) under TD_WITH_ABSEIL. 2022-03-14 16:20:56 +03:00
levlam
f9efb87f7d Improve log message. 2022-03-14 14:08:04 +03:00
levlam
cd21f58e7d Optimize FlatHashTable::emplace. 2022-03-14 13:25:41 +03:00
levlam
057b2d1e05 Remove EndSentinel, not allowed in C++14. 2022-03-13 23:14:18 +03:00
levlam
daef14ade1 Return NodePointer instead of iterator in find/emplace. 2022-03-12 15:27:14 +03:00
levlam
62f463b421 Use a sentinel for FlatHashTable::end(). 2022-03-12 13:26:03 +03:00
levlam
37123a50ff Don't create vectors using set iterators. 2022-03-12 13:22:07 +03:00
levlam
29caadd4c9 Simplify optional photo initialization. 2022-03-12 10:54:02 +03:00
levlam
c8ff8d94f5 Improve documentation. 2022-03-12 10:53:36 +03:00
levlam
eb89f8b35f Minor include fixes. 2022-03-12 00:50:04 +03:00
levlam
254f10b885 Fix include. 2022-03-11 21:49:58 +03:00
levlam
89242e69fc Always send updateFileDownloads on launch. 2022-03-11 21:42:19 +03:00
levlam
1f38124861 Use FlatHashSet. 2022-03-11 21:38:48 +03:00
levlam
8b16cf7271 Make all fields in Dependencies class private. 2022-03-11 15:31:28 +03:00
levlam
a136a9d22b Move methods inside Dependencies class. 2022-03-11 15:10:24 +03:00
levlam
3eda5b17ac FlatHashTable: optimize find. 2022-03-11 14:10:10 +03:00
levlam
2a44a0f357 Add G graphical programming language to build.html. 2022-03-11 13:46:45 +03:00
Ivan Lis
b9e0d07e07 Update README.md
Add TDLib bindings for LabVIEW
2022-03-11 13:40:35 +03:00
levlam
acf30d3700 Fix HashTable::operator->. 2022-03-11 13:34:36 +03:00
levlam
a0a135dbda Avoid informal 'info' in documentation. 2022-03-11 13:08:36 +03:00
levlam
ff9f5b88d9 Ignore invite links to deactivated basic groups. 2022-03-11 13:00:25 +03:00