Andrea Cavalli
|
b47fab11cd
|
Merge commit 'eb80924dad30af4e6d8385d058bb7e847174df5e'
|
2020-12-02 23:31:03 +01:00 |
|
levlam
|
eeee625803
|
Rename createVoiceChat method.
|
2020-12-03 01:08:20 +03:00 |
|
levlam
|
1da1a14255
|
Represent sticker contours as vector path.
|
2020-12-02 18:45:06 +03:00 |
|
levlam
|
dcf5b2a78b
|
Update layer 122.
|
2020-11-29 15:50:09 +03:00 |
|
levlam
|
7f9681313a
|
Update layer 122.
|
2020-11-29 15:41:03 +03:00 |
|
levlam
|
eb80924dad
|
Update version to 1.7.0.
|
2020-11-28 17:00:17 +03:00 |
|
levlam
|
29fafbe5c4
|
Improve documentation.
|
2020-11-28 16:53:23 +03:00 |
|
levlam
|
e3a31f062e
|
Add can_archive_and_mute_new_chats_from_unknown_users option.
|
2020-11-28 16:39:56 +03:00 |
|
levlam
|
3e95f8d9cc
|
Add toggleGroupCallMemberIsMuted method.
|
2020-11-27 17:40:29 +03:00 |
|
levlam
|
1aa5822bf8
|
Add checkGroupCall method.
|
2020-11-27 17:07:12 +03:00 |
|
levlam
|
daf93cd157
|
tg_cli: add as_group_call_id.
|
2020-11-27 15:31:00 +03:00 |
|
levlam
|
f10db772f5
|
Add inviteGroupCallMember method.
|
2020-11-27 15:22:19 +03:00 |
|
levlam
|
1eca39c4ee
|
Add toggleGroupCallMuteNewMembers method.
|
2020-11-27 01:58:36 +03:00 |
|
levlam
|
54cfb02698
|
Add mute_new_members and allowed_change_mute_new_members flags to group call.
|
2020-11-27 01:40:48 +03:00 |
|
levlam
|
de6ac56cf2
|
Fix GroupCallManager destructor.
|
2020-11-26 18:02:18 +03:00 |
|
Arseny Smirnov
|
ab3e695f94
|
Revert "Revert "New test for tdlib. New Promise/Future features (ported from other project)""
This reverts commit 56866524aa .
|
2020-11-26 18:49:51 +04:00 |
|
levlam
|
cbca6ca902
|
Cancel joinGroupCall net query.
|
2020-11-26 17:33:28 +03:00 |
|
levlam
|
162c06d00a
|
Add joinGroupCall method.
|
2020-11-26 14:32:29 +03:00 |
|
levlam
|
32295e2b6e
|
Add missing files.
|
2020-11-26 13:47:20 +03:00 |
|
levlam
|
2f1b857b7e
|
Disallow empty group call identifier in requests.
|
2020-11-26 13:44:48 +03:00 |
|
levlam
|
5cfda1df72
|
Add leaveGroupCall method.
|
2020-11-26 11:37:54 +03:00 |
|
levlam
|
e5bf347ceb
|
Add discardGroupCall.
|
2020-11-26 11:21:26 +03:00 |
|
levlam
|
e1271c7fa5
|
Add createChatGroupCall.
|
2020-11-26 10:56:13 +03:00 |
|
levlam
|
5d6e55e939
|
Add group_call_id to supergroupFullInfo.
|
2020-11-25 23:07:10 +03:00 |
|
levlam
|
cc47f9b63f
|
Support updateGroupCall.
|
2020-11-25 17:04:32 +03:00 |
|
levlam
|
bd75c4b062
|
Add GroupCallManager.
|
2020-11-24 18:22:00 +03:00 |
|
levlam
|
3c9cd41776
|
Add GroupCallId.
|
2020-11-24 17:29:09 +03:00 |
|
Arseny Smirnov
|
56866524aa
|
Revert "New test for tdlib. New Promise/Future features (ported from other project)"
This reverts commit 0c2b15f2b8 .
|
2020-11-24 15:50:44 +04:00 |
|
levlam
|
ce4054c5d4
|
Add messageGroupCall and messageInviteToGroupCall.
|
2020-11-24 14:33:16 +03:00 |
|
Arseny Smirnov
|
0c2b15f2b8
|
New test for tdlib. New Promise/Future features (ported from other project)
|
2020-11-24 15:25:10 +04:00 |
|
levlam
|
8663c78702
|
Add InputGroupCallId.
|
2020-11-24 10:44:06 +03:00 |
|
levlam
|
3e13b0cd31
|
Add can_manage_calls admin right.
|
2020-11-24 02:43:14 +03:00 |
|
levlam
|
59e0f03b5f
|
Update UpdatesManager::is_acceptable_message.
|
2020-11-24 01:36:20 +03:00 |
|
levlam
|
dc12edbde1
|
Return back 0 as default next load time.
|
2020-11-23 20:33:35 +03:00 |
|
levlam
|
905aa871e1
|
Add SpeakingInCall chat action.
|
2020-11-23 19:50:03 +03:00 |
|
Andrea Cavalli
|
3c59d917be
|
Merge remote-tracking branch 'td/master'
|
2020-11-23 17:27:14 +01:00 |
|
levlam
|
d24f3c924e
|
Fix StartPlayingGame chat action.
|
2020-11-23 19:18:56 +03:00 |
|
levlam
|
ccb0a4f63c
|
Update layer to 122.
|
2020-11-23 18:48:55 +03:00 |
|
levlam
|
6571a99b45
|
Include ConcurrentScheduler separately.
|
2020-11-23 03:24:36 +03:00 |
|
levlam
|
7dcfb6c4a4
|
Protect LanguagePackManager::tear_down during exit.
|
2020-11-23 02:11:05 +03:00 |
|
levlam
|
52653d6bf1
|
Do not try to attach to JVM after exit.
|
2020-11-23 00:18:01 +03:00 |
|
levlam
|
155c12edea
|
Improve ConcurrentScheduler closing on exit.
|
2020-11-22 23:30:40 +03:00 |
|
levlam
|
6044ee83fb
|
Fix Client_SimpleMulti test on macOS.
|
2020-11-22 16:26:00 +03:00 |
|
Andrea Cavalli
|
cba9f74cba
|
Merge remote-tracking branch 'td/master'
|
2020-11-22 01:11:21 +01:00 |
|
levlam
|
5cbf90e4a0
|
Safer work with negative monotonic time.
|
2020-11-21 16:34:39 +03:00 |
|
levlam
|
3ff1f6cec1
|
Add sticker cover to API.
|
2020-11-20 16:22:07 +03:00 |
|
levlam
|
ea6cdde0c5
|
Fix MSVC 15.3 CE.
|
2020-11-20 02:03:39 +03:00 |
|
levlam
|
d5da47510d
|
Minor fixes.
|
2020-11-20 01:32:58 +03:00 |
|
levlam
|
09b10c0ed1
|
Improve names of statistical classes.
|
2020-11-19 17:57:15 +03:00 |
|
levlam
|
74a960aca1
|
Allow zero sender in searchChatMessages.
|
2020-11-19 14:55:09 +03:00 |
|
levlam
|
ebfe3f3d99
|
Improve new interface documentation.
|
2020-11-18 23:42:26 +03:00 |
|
levlam
|
6f26706da5
|
Fix closing connection on too much dropped packets.
|
2020-11-18 17:49:29 +03:00 |
|
levlam
|
3f33d15879
|
Always adjust part size to keep low number of parts in downloaded files.
|
2020-11-17 02:59:58 +03:00 |
|
levlam
|
52a47b5f70
|
Add small margin for the maximum number of file parts on download.
|
2020-11-17 01:19:27 +03:00 |
|
Andrea Cavalli
|
bc0f162ad6
|
Merge commit '78e45da6b9014f8efd96cee0ad5701464d911cc7'
|
2020-11-15 18:16:02 +01:00 |
|
levlam
|
78e45da6b9
|
Use array instead of std::vector in the generated C++ classes.
|
2020-11-15 19:57:03 +03:00 |
|
levlam
|
f693874c50
|
Improve documentation.
|
2020-11-15 17:38:10 +03:00 |
|
Andrea Cavalli
|
18c967ac6c
|
Update build.yaml and CMakeLists.txt
|
2020-11-15 15:08:03 +01:00 |
|
Andrea Cavalli
|
600a7296a5
|
Update CMakeLists.txt
|
2020-11-15 14:45:52 +01:00 |
|
Andrea Cavalli
|
ae68150718
|
Update CMakeLists.txt
|
2020-11-15 14:40:19 +01:00 |
|
Andrea Cavalli
|
07fc180b4a
|
Update build.yaml and CMakeLists.txt
|
2020-11-15 14:22:33 +01:00 |
|
Andrea Cavalli
|
8988451abf
|
Fix CMakeLists
|
2020-11-15 13:19:14 +01:00 |
|
Andrea Cavalli
|
3d4d46e07c
|
Fix .tlo generation
|
2020-11-14 23:35:54 +01:00 |
|
levlam
|
5eea5b7501
|
Rename create_client to create_client_id.
|
2020-11-15 01:13:11 +03:00 |
|
levlam
|
6d46662804
|
Fix documentation misprint.
|
2020-11-14 23:00:14 +03:00 |
|
Andrea Cavalli
|
e96043b155
|
Fix .tlo generation for macos
|
2020-11-14 18:47:03 +01:00 |
|
Andrea Cavalli
|
3a620225a9
|
Fix .tlo generation for macos
|
2020-11-14 16:54:24 +01:00 |
|
Andrea Cavalli
|
dacb5ff0cc
|
Fix .tlo generation
|
2020-11-14 13:47:57 +01:00 |
|
Andrea Cavalli
|
e4bcc81ec7
|
Merge commit '00abe2f4019717c6479e30c588059a3cfd3be58e'
Conflicts:
td/generate/scheme/td_api.tlo
|
2020-11-14 11:11:47 +01:00 |
|
levlam
|
326fd203e9
|
Fix documentation misprint.
|
2020-11-13 18:18:10 +03:00 |
|
levlam
|
6a9cd72636
|
Don't create client through ClientManager until first request is sent to it.
|
2020-11-12 14:45:18 +03:00 |
|
levlam
|
597c0d2983
|
Add checks that client ID doesn't overflow.
|
2020-11-12 01:19:30 +03:00 |
|
Andrea Cavalli
|
f81d11a0b3
|
Merge commit '6a2dba9e8c1a896ba5a14b1205a3784c057c86fd'
|
2020-11-11 19:54:04 +01:00 |
|
Andrea Cavalli
|
ccc5fbf9ff
|
Update MessagesManager.cpp
|
2020-11-11 19:51:08 +01:00 |
|
levlam
|
9725780fc6
|
Replace referenced text with anchor name in richTextReference to support nested references.
|
2020-11-11 16:41:30 +03:00 |
|
levlam
|
d63a16ef8b
|
Remove PHP ctype extension usage.
|
2020-11-11 16:38:48 +03:00 |
|
levlam
|
c86687091d
|
Improve documentation.
|
2020-11-10 20:47:22 +03:00 |
|
Andrea Cavalli
|
2821f4af4f
|
Update ContactsManager.cpp
|
2020-11-10 13:05:13 +01:00 |
|
Andrea Cavalli
|
cbe8d94183
|
Merge commit '1fa87babb32ea85ff5a97ab93525ae13f66a0eef'
|
2020-11-10 12:42:50 +01:00 |
|
Andrea Cavalli
|
eb28f728be
|
Remove unused mutex
|
2020-11-10 12:42:35 +01:00 |
|
levlam
|
d22dabfdaf
|
Update layer to 121.
|
2020-11-09 23:41:23 +03:00 |
|
levlam
|
ea8c57fea3
|
Fix canceling chat actions on timeout.
|
2020-11-09 12:33:40 +03:00 |
|
Andrea Cavalli
|
604df72790
|
Merge commit '1d75237893c8a08d73ba95a7e76b8da517b8c1dc'
|
2020-11-08 23:49:01 +01:00 |
|
levlam
|
f9a600c401
|
Minor fixes.
|
2020-11-08 14:00:36 +03:00 |
|
levlam
|
b21d667bdf
|
Fix compilation error.
|
2020-11-08 12:09:27 +03:00 |
|
Andrea Cavalli
|
6f28ad36af
|
Merge commit '60edadab90d7aeb8d7a44764344b8848abf5b8bb'
Conflicts:
td/telegram/MessagesManager.cpp
|
2020-11-07 23:10:26 +01:00 |
|
levlam
|
60edadab90
|
Automatically group forwarded documents and music files.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
0713c913de
|
Remove now unneeded postponed_get_message_requests_.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
00382f825b
|
Get channel difference if it is needed to add messages.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
ed25a03dda
|
Get channel difference before adding discussion message if needed.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
260c15e3e9
|
Add process_discussion_message method.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
8f623e8be7
|
Add early check for another active channel difference.
|
2020-11-08 00:40:12 +03:00 |
|
levlam
|
cb06833eb1
|
Reload full dialog info with a small delay.
|
2020-11-08 00:40:06 +03:00 |
|
Andrea Cavalli
|
b22a1a46e6
|
Remove annoying error
|
2020-11-07 22:20:46 +01:00 |
|
Andrea Cavalli
|
1f7c4e2508
|
Remove death_handler
|
2020-11-06 14:27:05 +01:00 |
|
levlam
|
da1f073e22
|
Forward messages in two passes.
|
2020-11-06 16:00:56 +03:00 |
|
levlam
|
398c7cfd52
|
Don't drop administrator count in non-admined supergroups.
|
2020-11-06 15:16:30 +03:00 |
|
Andrea Cavalli
|
e022963e1e
|
Merge commit 'ff0c727ee2129b66a2908e46edc3bc9f7774e834'
|
2020-11-06 11:48:24 +01:00 |
|
Sergey Polovko
|
645052bec7
|
Implement hash function for MessageContentType enum. (#1283)
|
2020-11-06 02:05:15 +03:00 |
|
Andrea Cavalli
|
28add54662
|
Update cli.cpp
|
2020-11-05 22:02:00 +01:00 |
|
Andrea Cavalli
|
423d05f18e
|
Remove death handler if using musl
|
2020-11-05 21:58:40 +01:00 |
|
levlam
|
254823d602
|
Fix search inside message threads.
|
2020-11-05 17:46:47 +03:00 |
|
Andrea Cavalli
|
d34a45ec83
|
Remove malloc_trim with musl
|
2020-11-05 12:48:59 +01:00 |
|
Andrea Cavalli
|
e56e0ae279
|
Use sh instead of bash
|
2020-11-04 21:51:30 +01:00 |
|
Andrea Cavalli
|
4acc54ee73
|
Remove autogenerated files
|
2020-11-04 21:27:15 +01:00 |
|
Andrea Cavalli
|
16f41643ed
|
Merge commit '821398fa211b6a3c53733ccf271ee7a783d9bc75'
Conflicts:
.gitignore
td/generate/scheme/td_api.tlo
td/telegram/ContactsManager.h
|
2020-11-04 20:05:50 +01:00 |
|
Andrea Cavalli
|
2e31ced59b
|
Update to tdlib 1.6.10
|
2020-11-04 20:03:14 +01:00 |
|
levlam
|
c1de6a7d8d
|
Minor improvements.
GitOrigin-RevId: eb8b201d80405feb6972b2eabc7de30d40aa8b81
|
2020-11-02 00:43:57 +03:00 |
|
levlam
|
301c8b167f
|
Allow passing outdated yet unsent message identifier to getRepliedMessage.
GitOrigin-RevId: b24c47456a3716022de52fe030245e048ff5d053
|
2020-11-01 23:24:29 +03:00 |
|
levlam
|
ab5484fd78
|
Improve logging.
GitOrigin-RevId: 2d3e19395b48d4c6c330a852d559b537ff363b4e
|
2020-11-01 23:22:42 +03:00 |
|
levlam
|
69ae1d4f0c
|
Allow auth.bindTempAuthKey before authorization to check auth_key validness.
GitOrigin-RevId: 7a80d84aef6a9f097c6567ed72bccd9b62f87c2c
|
2020-11-01 21:42:48 +03:00 |
|
levlam
|
3a8931cff0
|
Ping server only if authorized.
GitOrigin-RevId: 02e272e5dd2892fde8df74b968091d14fb96ed54
|
2020-11-01 21:36:42 +03:00 |
|
levlam
|
fd2fcc3eb0
|
Improve documentation.
GitOrigin-RevId: f0e6047beb07322b285807462d381e8fdafe35a3
|
2020-10-31 21:27:21 +03:00 |
|
levlam
|
f9a527b2d0
|
Update documentation.
GitOrigin-RevId: 6f36ec26b37604e21b4de35a2be864ab9e7fd251
|
2020-10-31 21:24:59 +03:00 |
|
levlam
|
c8949e264d
|
Allow access to channel if it has linked channel, but we can't check access to it.
GitOrigin-RevId: 897e86d18ad2b3c829c4ac544320fa4ee4ebd31b
|
2020-10-31 19:40:08 +03:00 |
|
levlam
|
ed0bf2c1b3
|
Ignore failed to load chats in getChatFilter.
GitOrigin-RevId: 5c1871080e56576f402917e1ecfbf0c99da0deba
|
2020-10-31 16:43:26 +03:00 |
|
levlam
|
778adce53d
|
Add debug logging.
GitOrigin-RevId: 08ae2a25ae086a2211658239a532e1e19d996a4f
|
2020-10-31 16:33:06 +03:00 |
|
levlam
|
98ff412f7a
|
Use get_channel_full_const in get methods to avoid unneeded getChannelFull requests.
GitOrigin-RevId: 1959c781b6c85667065e38af125a87186746a233
|
2020-10-31 15:47:40 +03:00 |
|
levlam
|
d28a7245ea
|
Make can_get_channel_message_statistics const to prevent unneeded getChannelFull requests.
GitOrigin-RevId: 90121f149dfa5ec6e586b8932b8507dd25614921
|
2020-10-31 15:28:55 +03:00 |
|
levlam
|
e27385e9b8
|
Fix discussion message usage.
GitOrigin-RevId: 52f7c267b29589c751a2acfc5f74dce9950dc801
|
2020-10-31 15:19:36 +03:00 |
|
levlam
|
38d2fb8e94
|
Improve updates order.
GitOrigin-RevId: 5a88973c364be4630a7923190958cda47c697678
|
2020-10-31 14:55:44 +03:00 |
|
levlam
|
ca3315ba06
|
Add MessagesManager::update_reply_count_by_message and update reply_count on message deletion.
GitOrigin-RevId: 2746c056ae021053587c8b16b50a92ed126f89da
|
2020-10-31 13:55:53 +03:00 |
|
levlam
|
dd12a34656
|
Simplify set_dialog_last_pinned_message_id usage.
GitOrigin-RevId: 62c3e3e8b5bd0260bc059ba92b6bc400bb9b3eda
|
2020-10-31 13:13:31 +03:00 |
|
levlam
|
7010c7c6ea
|
Fix dropping pending updates after receiving empty difference.
GitOrigin-RevId: b8a7a2298191123b0e5be818ebae52c52998eab0
|
2020-10-31 12:01:13 +03:00 |
|
levlam
|
a4a28c511b
|
Move logging from ERROR to WARNING.
GitOrigin-RevId: f46e811f84315f014625ea532459fa714432a884
|
2020-10-31 11:58:06 +03:00 |
|
levlam
|
1fcd6b54ed
|
Improve messageProximityAlertTriggered field names.
GitOrigin-RevId: b67708794a18ee954455871cce1084ca047f7f35
|
2020-10-31 01:38:11 +03:00 |
|
levlam
|
0efc6ee617
|
Reload all sticker sets once to drop legacy photo locations.
GitOrigin-RevId: 2ab5e1ba035ea3946a733a06e44cc1f7b327cd36
|
2020-10-31 01:32:18 +03:00 |
|
levlam
|
0cc4767839
|
Improve getSuitableDiscussionChats documentation.
GitOrigin-RevId: 9d90fc5b5a702e01f6001a3c4ffe489152a274b7
|
2020-10-30 21:27:38 +03:00 |
|
levlam
|
b433905bb0
|
Increase version to 1.6.10.
GitOrigin-RevId: 5b448003c89f845050293a9fceb6a89cd8399ca7
|
2020-10-30 21:09:08 +03:00 |
|
levlam
|
ed24ba28df
|
Update last pinned message ID after receiving pinned message search results.
GitOrigin-RevId: 5847782e855561c3f17b8f2a3d3a3feb3fc096d9
|
2020-10-30 18:50:45 +03:00 |
|
levlam
|
e97d547edf
|
Add author_signature to message forward origin.
GitOrigin-RevId: df1046ec0a30e2ccf43867d6dcc4558b0212c0c6
|
2020-10-30 18:24:17 +03:00 |
|
levlam
|
e8d97ebbcd
|
Apply users and chats from channels.getDifference before creating the dialog.
GitOrigin-RevId: 5ee65a1b7c199daf38d94a7d93b8adfb6532703d
|
2020-10-30 18:09:57 +03:00 |
|
levlam
|
e5133445d3
|
Increase maximum allowed horizontal accuracy to 1500.
GitOrigin-RevId: a60447f8aa35253f6e04f1cb77d45643bb64c389
|
2020-10-30 17:01:06 +03:00 |
|
levlam
|
3f23a06473
|
Prettify query logging.
GitOrigin-RevId: 1e6e7285dab732e95593119d2e1e3f13f0d8bb15
|
2020-10-30 16:46:57 +03:00 |
|
levlam
|
f42532e9ed
|
Fix CHECK.
GitOrigin-RevId: b6b51f3e78f2f6c8e8a60df6f862ee3ef647e66a
|
2020-10-30 16:21:34 +03:00 |
|
levlam
|
5719636fa2
|
Add temporary reuse_uploaded_photos_by_hash option.
GitOrigin-RevId: 99fc8dae067322c51ad489f50d60979f62fa4213
|
2020-10-30 16:01:43 +03:00 |
|
levlam
|
6f4c4adcc8
|
Improve field names.
GitOrigin-RevId: ded67301be27af1f3b7c8f7e11b2172bb92934c7
|
2020-10-30 15:51:20 +03:00 |
|
levlam
|
979a1997d5
|
Preallocate response string in JSON interface.
GitOrigin-RevId: 73ab96ad95a46469e9afc59f02b48c8932457ef0
|
2020-10-30 01:02:44 +03:00 |
|
levlam
|
86c80e652e
|
Improve field names.
GitOrigin-RevId: 3c30190dc75bd5dc812078f33bbf9dcaaeba1a1a
|
2020-10-29 22:25:58 +03:00 |
|
levlam
|
ef1b2921ae
|
Add td_api::getCallbackQueryMessage.
GitOrigin-RevId: a5ca7eab673e00942b4e2fe7a9c6e17dfb3784f8
|
2020-10-29 01:06:07 +03:00 |
|
levlam
|
0a6ec2ce1c
|
Fix updating last pinned message.
GitOrigin-RevId: 880ef5fa1ef5c0e5ea0746ad8251912ee7ab672f
|
2020-10-28 20:20:11 +03:00 |
|
levlam
|
6572821eff
|
Update last_pinned_message_id by updates only if it is already inited.
GitOrigin-RevId: 28a4acb97a6c1e442bbcaa15239c9bf93fd68e40
|
2020-10-28 15:18:22 +03:00 |
|
levlam
|
3a87d1908f
|
Fix updating message.is_pinned.
GitOrigin-RevId: d00c962f66c04b6977b395ed2c35d2c97c1c51bc
|
2020-10-28 15:14:42 +03:00 |
|
levlam
|
974feddb4a
|
Reload full chat info after pinned message is dropped.
GitOrigin-RevId: 6cbf3d217b5da21f050715ed290cb122d6a4ef2c
|
2020-10-28 14:25:27 +03:00 |
|
levlam
|
0ec0f20f62
|
Improve pinChatMessage documentation.
GitOrigin-RevId: f4b5acfaf3a54e54fc757064ec0ba0632bf25d0f
|
2020-10-28 12:49:06 +03:00 |
|
levlam
|
a7e1f29f34
|
Fix updating of scheduled messages.
GitOrigin-RevId: 2744c6763bdb1e8fcfbdaa44b6f5f928e8fddbc7
|
2020-10-27 18:55:38 +03:00 |
|
levlam
|
8d2c2e586e
|
Disable message threads in non-root messages in non-linked groups.
GitOrigin-RevId: 71b2b3cdcf413353a76adb9524ddfdf5fe89b972
|
2020-10-27 15:10:56 +03:00 |
|
Andrea Cavalli
|
9503507cfd
|
Merge commit '32f2338bd199dd06a1b4b5f1ad14f2d4f2868f01'
Conflicts:
td/telegram/MessagesManager.cpp
|
2020-10-26 21:56:43 +01:00 |
|
Andrea Cavalli
|
134d20b7ec
|
Merge commit 'bf945e05be9a9f696bdd866cc3427ac1bc7a4825'
|
2020-10-26 21:55:16 +01:00 |
|
levlam
|
ecf9ea23ac
|
Remove accuracy from inline result description.
GitOrigin-RevId: 0c6ff5d197d2292c748c260d0afbdb0cd265f2ad
|
2020-10-26 23:12:04 +03:00 |
|
levlam
|
e94e4b8dff
|
tg_cli: add addadmin chat member status.
GitOrigin-RevId: e87588a4f1d3bd484b33aed530cd9f1a25e59ad6
|
2020-10-26 23:11:27 +03:00 |
|
Andrea Cavalli
|
52e41fbb76
|
Fix TTL not set
|
2020-10-26 13:08:23 +01:00 |
|
Andrea Cavalli
|
07fed579c2
|
Update MessagesManager.cpp
|
2020-10-26 01:52:49 +01:00 |
|
Andrea Cavalli
|
973b9170de
|
Add option ignore_server_deletes_and_reads
|
2020-10-26 01:41:50 +01:00 |
|
levlam
|
36492d3af9
|
Document maximum approaching notification distance.
GitOrigin-RevId: 8acf0c630c04d0c8ffea9acf69435af6815af446
|
2020-10-25 23:54:33 +03:00 |
|
Andrea Cavalli
|
70b9b6764f
|
Bugfixes
|
2020-10-25 20:52:25 +01:00 |
|
Andrea Cavalli
|
14b8f24954
|
Update CMakeLists.txt
|
2020-10-25 17:35:50 +01:00 |
|
Andrea Cavalli
|
d3ff817f83
|
Update CMakeLists.txt
|
2020-10-25 17:08:17 +01:00 |
|
Andrea Cavalli
|
00389d86ac
|
Update tl-parser
|
2020-10-25 15:32:59 +01:00 |
|
Andrea Cavalli
|
3fb167d617
|
Update tl-parser
|
2020-10-25 15:20:18 +01:00 |
|
Andrea Cavalli
|
a22797e390
|
Update CMakeLists.txt
|
2020-10-25 14:56:56 +01:00 |
|
Andrea Cavalli
|
8fa4a610a4
|
Update CMakeLists.txt
|
2020-10-25 14:36:48 +01:00 |
|
Andrea Cavalli
|
e2953ba035
|
Update CMakeLists.txt
|
2020-10-25 14:26:03 +01:00 |
|
Andrea Cavalli
|
dd3bf5b289
|
Update CMakeLists.txt
|
2020-10-25 11:45:46 +01:00 |
|
Andrea Cavalli
|
120c990e8d
|
Update CMakeLists.txt and tl-parser
|
2020-10-25 11:41:02 +01:00 |
|
Andrea Cavalli
|
b7d5e480f7
|
Update CMakeLists.txt
|
2020-10-25 10:48:48 +01:00 |
|
Andrea Cavalli
|
09e23b61cf
|
Fix json formatting, fix cmake windows support
|
2020-10-25 10:08:13 +01:00 |
|
Andrea Cavalli
|
017073e0a2
|
Add memory optimize and memory stats methods
|
2020-10-25 03:20:24 +02:00 |
|
levlam
|
38fe050dba
|
Update layer 120. New live location approaching API.
GitOrigin-RevId: 98e984a3c84deee3552eb01b53963a6a998c7eda
|
2020-10-25 00:49:41 +03:00 |
|
levlam
|
bc2de6e5c0
|
Fix td_api::userFullInfo field order.
GitOrigin-RevId: 420adf21e8be165f4783aa1aca4130fb579fa3c2
|
2020-10-24 16:42:17 +03:00 |
|
levlam
|
881aa63014
|
Keep reply info only on last forwarded and first album messages.
GitOrigin-RevId: 0011332382abccd84122f88bcb2ae04ee793dd2b
|
2020-10-24 14:52:18 +03:00 |
|
levlam
|
a27bf08319
|
Allow to block users using td_api::messageSenderChat.
GitOrigin-RevId: 71be9510975f0dd8354c2cffa829d707f80ee4d3
|
2020-10-24 02:18:11 +03:00 |
|
levlam
|
978863810c
|
Use MessageId as map key.
GitOrigin-RevId: 795c123e953dbdae3c03b828b458910fe221ce90
|
2020-10-24 02:00:37 +03:00 |
|
levlam
|
0846e7aec5
|
Don't use iterators after a promise is set.
GitOrigin-RevId: eba7487d7025410ae4a2230d4ce09cfa02012fdf
|
2020-10-24 01:45:04 +03:00 |
|
levlam
|
6006f92e96
|
tg_cli: add smad.
GitOrigin-RevId: 129344085b2f9e54ee33784d6c1c2665215a0329
|
2020-10-23 19:07:42 +03:00 |
|
levlam
|
7c5175b78a
|
Improve error message.
GitOrigin-RevId: dfa935cc2c2f65d61a969c8a455a47145f97b8fb
|
2020-10-23 15:25:46 +03:00 |
|
levlam
|
c768cd202a
|
Improve deletion of newer messages in on_get_channel_dialog.
GitOrigin-RevId: 98a348ba63440d8e61c1199a68298cfa66b2a863
|
2020-10-23 14:50:05 +03:00 |
|
levlam
|
3eee4654f7
|
Add message to td_api::chatEventMessageUnpinned.
GitOrigin-RevId: f7c90fa7d782eb57288de582094688252f230b43
|
2020-10-23 14:04:00 +03:00 |
|
levlam
|
e37fde1baa
|
tg_cli: add searchMessagesFilterPinned.
GitOrigin-RevId: fd44a076dca80bee685d199c78e98bfa6c25d860
|
2020-10-23 13:42:08 +03:00 |
|
levlam
|
bf945e05be
|
Remove promise from map before setting it.
GitOrigin-RevId: d721cab5311096631748e632cf8756edaef9d7e1
|
2020-10-23 12:54:08 +03:00 |
|
levlam
|
1049ae0630
|
Disallow pinning service messages.
GitOrigin-RevId: 18c23b8dbfe97e60e27fc605a145e11356231c38
|
2020-10-23 02:25:35 +03:00 |
|
levlam
|
65246318bb
|
Allow to pin chat messages only for self in private chats.
GitOrigin-RevId: 57f71b2728a47469ff8f2a53478300dd3c96f658
|
2020-10-23 02:12:32 +03:00 |
|
levlam
|
793e8409de
|
Add td_api::unpinAllChatMessages.
GitOrigin-RevId: ad5aa1cf7ea0f1ee770900f5f58409436029b9a7
|
2020-10-23 01:56:06 +03:00 |
|
Andrea Cavalli
|
11332192a0
|
Keep uninitialized data
|
2020-10-22 19:07:36 +02:00 |
|
levlam
|
f5c4b93a37
|
Use generic find_messages.
GitOrigin-RevId: ac5bb9be8a6597cbdafa3762e6d6cbf5f1720edc
|
2020-10-22 16:08:54 +03:00 |
|
levlam
|
4718e640ee
|
Add generic MessagesManager::find_messages.
GitOrigin-RevId: 21c6f0145376ef4a779703b8cf516a420418cb39
|
2020-10-22 15:59:59 +03:00 |
|
levlam
|
a6f9fde223
|
Update built-in bot flags.
GitOrigin-RevId: f54618d393b39e14f1269c8237d971ff47402a72
|
2020-10-22 13:21:51 +03:00 |
|
levlam
|
f9009cbc01
|
Improve checks in MessagesManager::is_anonymous_administrator.
GitOrigin-RevId: 332c324e1c067cc2ed394fedce16b590188e3ae7
|
2020-10-22 02:40:58 +03:00 |
|
levlam
|
f59a11706c
|
Use unique location for outgoing photos.
GitOrigin-RevId: ac3a0eed1847ee7b96d463758ee33b85c6797ac5
|
2020-10-22 02:11:32 +03:00 |
|
Andrea Cavalli
|
184510fc66
|
Fix remaining compilation errors
|
2020-10-21 22:23:31 +02:00 |
|
Andrea Cavalli
|
40db0efc2d
|
Fix compilation errors
|
2020-10-21 22:18:54 +02:00 |
|
Andrea Cavalli
|
adafcf66a3
|
Convert hard null checks to soft null checks
|
2020-10-21 22:17:26 +02:00 |
|
Andrea Cavalli
|
5cff13f2ae
|
Better documents cleanup
|
2020-10-21 22:17:07 +02:00 |
|
Andrea Cavalli
|
6babc009d7
|
Fix data ttl
|
2020-10-21 21:36:13 +02:00 |
|
levlam
|
0256a95f49
|
Fix GetChannelDifferenceLogEvent handling.
GitOrigin-RevId: facbb318cbba1c9ac6908db86ec5fba123c88d7b
|
2020-10-21 16:54:32 +03:00 |
|
levlam
|
313eeeedcc
|
Return back updating of last pinned message ID on new pinned message.
GitOrigin-RevId: 03dfeb882c56815a4c5e66af1280df232f2071f6
|
2020-10-21 14:56:05 +03:00 |
|
Andrea Cavalli
|
f9c9f2bd59
|
Update ContactsManager.cpp
|
2020-10-21 03:41:05 +02:00 |
|
levlam
|
35045bf18e
|
Fix get_dialog_pinned_message.
GitOrigin-RevId: 19c58053e7d0d28729f6f7ca341b788df02a091d
|
2020-10-21 02:23:29 +03:00 |
|
Andrea Cavalli
|
17230da76a
|
Merge commit 'cecdae448e88603c98d7d079855c992be6df739f'
|
2020-10-20 23:20:56 +02:00 |
|
Andrea Cavalli
|
76dbe45ad8
|
Memory cleanup for caching
Remove cached deleted messages from dialogs
Comment out unused variables
|
2020-10-20 23:16:24 +02:00 |
|
levlam
|
e783b0c2ec
|
Enable background animation for slot machines with all reels equal.
GitOrigin-RevId: e6d0097ff049ece01be766d382defde3071a887b
|
2020-10-20 21:40:05 +03:00 |
|
levlam
|
d17531e0e3
|
Ensure that private message push notifications don't contain mention.
GitOrigin-RevId: 87d85e63b70fdc5c9fe91d22d7cf9b7ba59f0895
|
2020-10-20 21:24:26 +03:00 |
|
levlam
|
4f7791121f
|
Update pinned message count when message.is_pinned changed.
GitOrigin-RevId: 924aa4f4fdd009d2eb8b6603e10d19566d346444
|
2020-10-20 20:44:46 +03:00 |
|
levlam
|
5442143aba
|
Rename pinned_message_id to last_pinned_message_id.
GitOrigin-RevId: c30148f3559f4ebecd3988c4bddc6cff82da3557
|
2020-10-20 20:28:37 +03:00 |
|
levlam
|
39fdab7b56
|
Remove chat.pinned_message_id field.
GitOrigin-RevId: 2a22d0eff8258e33aa7efd7b6f1daccdbcba95f9
|
2020-10-20 20:22:34 +03:00 |
|
levlam
|
31fbeaa2d0
|
Fix some pinned_message_id usages.
GitOrigin-RevId: 6c1952922e39214504705e6c4fb04474aba68c46
|
2020-10-20 19:58:59 +03:00 |
|
levlam
|
a9b7366296
|
Synchronize chat.pinned_message_id with message.is_pinned changes.
GitOrigin-RevId: 7d5debbdd6d44af3209c75745f49ad4a67b7a523
|
2020-10-20 19:07:11 +03:00 |
|
levlam
|
14f5df397d
|
Support unpinning chat messages.
GitOrigin-RevId: 5cc4f2f5642114fd31c8a2ae71c8fda501dc73f7
|
2020-10-20 15:48:13 +03:00 |
|
levlam
|
01447bb3f3
|
Process Message.is_pinned updates.
GitOrigin-RevId: 5dd3c0545a295c9faf408a3dbf8fb2767e290e34
|
2020-10-20 15:08:36 +03:00 |
|
levlam
|
ec61ef8093
|
Support document and audio albums in push notifications.
GitOrigin-RevId: afeefd5ae91bbcf44dc18ad0815afa9c23cea613
|
2020-10-20 13:21:09 +03:00 |
|
levlam
|
44b9ce89b8
|
Update layer to 120.
GitOrigin-RevId: 6318c68a9df151edc3c198473aeaf895d89fc594
|
2020-10-20 02:48:19 +03:00 |
|
levlam
|
f2f214f46b
|
Add searchMessagesFilterPinned.
GitOrigin-RevId: 322b7b59d91b0de47ac3bbc3734b1f81130fd152
|
2020-10-20 02:41:24 +03:00 |
|
levlam
|
ef09c6c5a9
|
Add message.is_pinned flag.
GitOrigin-RevId: 0449aaa0d12f29d722fbfcf4bad6d85f2212d819
|
2020-10-20 02:08:56 +03:00 |
|
levlam
|
9b8fc4b026
|
Add backward compatibility users for bots for all MessageSender objects.
GitOrigin-RevId: d91537e8d0fbf99d42b5dd05a34d923dd4e1597a
|
2020-10-19 22:15:40 +03:00 |
|
levlam
|
06bb6b4b11
|
Ignore anonymous status for bots.
GitOrigin-RevId: c3b5316fcb2a538655c4a2eeb09ef5df08794212
|
2020-10-19 21:43:44 +03:00 |
|
Arseny Smirnov
|
add7211707
|
tdweb: 1.6.9
GitOrigin-RevId: e1124a86c021c43c42ad00dc18dc9db0cbcacad1
|
2020-10-20 22:23:52 +03:00 |
|
levlam
|
de1e5e0bd4
|
Add new message content type MessageLiveLocationApproached.
GitOrigin-RevId: 6bf5ac6b3320d0b6da9c27bf5258105ccd958396
|
2020-10-19 20:44:09 +03:00 |
|
levlam
|
91cf083c94
|
Add add_message_sender_dependencies function.
GitOrigin-RevId: 70f6ac49b7769d707079956df858e98409704a90
|
2020-10-19 19:17:56 +03:00 |
|
levlam
|
9a3653a017
|
Add {en,dis}ableLiveLocationApproachingNotification methods.
GitOrigin-RevId: d1b92e683a4d663c33a09e8eb42a3aa62d134ef0
|
2020-10-19 18:44:55 +03:00 |
|
levlam
|
827ceb3ee5
|
Add audio, video and video note without duration to shared media.
GitOrigin-RevId: 924a2b8654e1d118b26c6174af3c0ebd327d454f
|
2020-10-19 14:31:18 +03:00 |
|
levlam
|
4b62900c0d
|
Add chatMembersFilterMention.
GitOrigin-RevId: d84138594d1546275e5fea46d9cef42eac69449b
|
2020-10-19 14:06:35 +03:00 |
|
levlam
|
3f143b013a
|
Use class for DialogParticipantsFilter.
GitOrigin-RevId: 56fc4ee7a35412db965c668f6a116ae29074f0a4
|
2020-10-19 01:48:31 +03:00 |
|
levlam
|
80d19432bf
|
Add supergroupMembersFilterMention.
GitOrigin-RevId: 370a3880a371879aaefb41ad520917db3e33d679
|
2020-10-19 01:33:31 +03:00 |
|
levlam
|
27f63e9e2e
|
Replace getBlockedChats with getBlockedMessageSenders.
GitOrigin-RevId: 044f70ab823b8302dddc8b7a128f19514306272a
|
2020-10-18 02:10:58 +03:00 |
|
levlam
|
0834d6164b
|
Replace toggleChatIsBlocked with toggleMessageSenderIsBlocked.
GitOrigin-RevId: cec3ba4ba139593e8cbf9422711e79b4a736b6f3
|
2020-10-18 01:54:32 +03:00 |
|
levlam
|
62fbb88969
|
Rename blockChatFromReplies to blockMessageSenderFromReplies.
GitOrigin-RevId: 820cbd60145c339c6cf5a7d319ff540ce03861e2
|
2020-10-18 01:26:36 +03:00 |
|
levlam
|
5fc7a7727e
|
Use error code 500 for "Requested data is inaccessible" errors.
GitOrigin-RevId: 2d39f90cd196f508b288089433ba2f066b5fcb22
|
2020-10-18 01:03:16 +03:00 |
|
levlam
|
2915129cd8
|
Allow message threads in all chats.
GitOrigin-RevId: 36652fbb9fb997fe41fd8bdf7b7172593fcc3629
|
2020-10-18 00:17:44 +03:00 |
|
levlam
|
30c17d200b
|
Use MessageSender to represent recent repliers.
GitOrigin-RevId: 2078a6b936d2087a1672eb96851494508f28a465
|
2020-10-18 00:07:39 +03:00 |
|
levlam
|
9fb26c4ea2
|
Return back UserFull.is_blocked.
GitOrigin-RevId: 98bc31a64c4c644fd6bb9e6e895d521b17df5afa
|
2020-10-17 23:38:07 +03:00 |
|
levlam
|
9558b06021
|
Add location horizontal accuracy support.
GitOrigin-RevId: bafb7f7ff115eeede17be4bb1610045b5e3e78c9
|
2020-10-17 22:47:47 +03:00 |
|
levlam
|
6e3eda2aa1
|
Add live location heading support.
GitOrigin-RevId: 67a1bdad91e82f6e7509f4df8c7f66a00e44ab83
|
2020-10-16 23:08:28 +03:00 |
|
levlam
|
d159ab4f52
|
Support audio-only and document-only albums.
GitOrigin-RevId: 96283716a84613e8e9dd1cb9bfb4d69097cefcc7
|
2020-10-15 18:13:54 +03:00 |
|
levlam
|
af6fe68c00
|
Allow to pin messages in all private chats.
GitOrigin-RevId: b5f55c22a6ec5950f5b88b66726bce918112d57f
|
2020-10-15 17:21:15 +03:00 |
|
levlam
|
fd9732dcfa
|
Add slot machine support.
GitOrigin-RevId: e0c3c5d9b2cff2870162f11983bd546aba101caf
|
2020-10-15 15:59:51 +03:00 |
|
levlam
|
33b7ba57a9
|
Add channelParticipantLeft support,
GitOrigin-RevId: 59d3ba88fb54c848d99425ec3ad95760d1765e3a
|
2020-10-14 22:35:30 +03:00 |
|
levlam
|
b1ed582737
|
Allow to specify a chat as a local message sender.
GitOrigin-RevId: f1f5251b617a6f17188c7db49450a2eb433ef14c
|
2020-10-14 21:47:20 +03:00 |
|
levlam
|
b03e0a827e
|
Remove wrong because of call through send_closure_later CHECK.
GitOrigin-RevId: c61586c3dde988c3174f4ce3e05fe0f08d7af468
|
2020-10-14 19:03:36 +03:00 |
|
levlam
|
a487d20e2d
|
Fix service message reply_to_message_id.
GitOrigin-RevId: b0c430c6c04167b15e4b195d86d584e376f88efe
|
2020-10-14 17:30:55 +03:00 |
|
levlam
|
b07d9634d6
|
Allow to pass chat as MessageSender in searchChatMessages.
GitOrigin-RevId: 7b39f616b1677c03dab2bbe48311ba188ec9344b
|
2020-10-14 14:41:04 +03:00 |
|
Andrea Cavalli
|
9773e87e96
|
Update StickersManager.cpp
|
2020-10-14 12:53:18 +02:00 |
|
levlam
|
e32e1c66e7
|
Add td_api::MessageSender class.
GitOrigin-RevId: 082a1e74188bffc590c4a4182793a9d94b60c148
|
2020-10-13 19:40:22 +03:00 |
|
levlam
|
d968fd0bed
|
Implement new chat action rules.
GitOrigin-RevId: 12214755c86adfee0a7b3ec5f6e39024364cdb99
|
2020-10-26 15:25:34 +03:00 |
|
levlam
|
a57d9ccbea
|
Don't add dummy message sender for bots on TDLib's side.
GitOrigin-RevId: d1ab4f7ca2739d30b0960f655478404d34d40757
|
2020-10-13 17:25:25 +03:00 |
|
levlam
|
348fdf1a31
|
Add "group_anonymous_bot_user_id" option.
GitOrigin-RevId: efb6ee569861df005a53fd0255c50fdfa0460382
|
2020-10-13 17:02:10 +03:00 |
|
levlam
|
7a59b3d2b3
|
Fix td_api C++11 compatibility.
GitOrigin-RevId: de46b13b26aa268770e99cf2b83ecf86b9ba5385
|
2020-10-13 13:51:13 +03:00 |
|
Andrea Cavalli
|
7654c2706a
|
Update Client.cpp
|
2020-10-13 03:11:19 +02:00 |
|
levlam
|
1aff1e75ef
|
Fix net query Counter initialization.
GitOrigin-RevId: ba23b816cfed060cea15244e3f2264f74c89d390
|
2020-10-13 02:30:40 +03:00 |
|
Andrea Cavalli
|
85bf271fb8
|
Update Client.cpp, Log.cpp, and 4 more files...
|
2020-10-12 19:50:17 +02:00 |
|
Andrea Cavalli
|
d3b2f81269
|
Revert standard client implementation
|
2020-10-12 19:18:48 +02:00 |
|