levlam
|
3ae02a64c1
|
Make ContactsManager struct declarations private.
|
2021-01-16 19:23:57 +03:00 |
|
levlam
|
2348e175d9
|
Add source to get_chat_full_force.
|
2021-01-16 12:30:48 +03:00 |
|
levlam
|
db77165dad
|
Optimize ContactsManager::search_among_users.
|
2021-01-16 03:14:15 +03:00 |
|
levlam
|
1941c0b962
|
Fix loading ChatFull/ChannelFull.
|
2021-01-14 23:40:18 +03:00 |
|
levlam
|
d5c0028e1e
|
Add getChatInviteLinkUsers.
|
2021-01-14 23:21:23 +03:00 |
|
levlam
|
efc12342c2
|
Add getChatInviteLinks method.
|
2021-01-14 19:39:51 +03:00 |
|
levlam
|
9f37354951
|
Return full invite links in *FullInfo.
|
2021-01-13 19:14:08 +03:00 |
|
levlam
|
4761d7385c
|
Move invite link methods to DialogInviteLink.
|
2021-01-13 18:30:58 +03:00 |
|
levlam
|
1816a6c7a5
|
Support permanent invite links.
|
2021-01-13 18:16:33 +03:00 |
|
levlam
|
5016197cf9
|
Load self when creating chat invite link.
|
2021-01-13 16:59:10 +03:00 |
|
levlam
|
3df10dc103
|
Check invite link validness.
|
2021-01-13 16:50:41 +03:00 |
|
levlam
|
b5cd03365d
|
Add DialogInviteLink class.
|
2021-01-13 16:28:24 +03:00 |
|
levlam
|
87a2423f5a
|
Add editChatInviteLink method.
|
2021-01-12 19:21:12 +03:00 |
|
Andrea Cavalli
|
a84a9f472d
|
Bugfixes
|
2021-01-12 17:12:29 +01:00 |
|
levlam
|
0b7ce1c647
|
Update layer 123. Support new generateChatInviteLink.
|
2021-01-12 17:05:25 +03:00 |
|
Andrea Cavalli
|
a79f835de0
|
Add memory_cleanup on tear_down, and add more memory_cleanup.
|
2021-01-12 01:37:17 +01:00 |
|
Andrea Cavalli
|
5af21e5612
|
Merge commit 'c5549b73460f58addfaea52c0bef98a94483211f'
Conflicts:
td/telegram/MessagesManager.cpp
|
2021-01-08 14:40:25 +01:00 |
|
levlam
|
6b909386fd
|
Simplify is_dialog_participant_suitable.
|
2021-01-08 02:01:49 +03:00 |
|
Andrea Cavalli
|
08bd345987
|
Change default values of experimental options
|
2021-01-07 19:18:45 +01:00 |
|
Andrea Cavalli
|
2f28ed3bba
|
Add experiment_enable_chat_access_hash_cleanup
|
2021-01-06 21:21:11 +01:00 |
|
Andrea Cavalli
|
7852116554
|
Fix #9
|
2021-01-05 17:26:11 +01:00 |
|
Andrea Cavalli
|
d81befa783
|
Merge commit '71ac1f67bf160763bac8cf1183e12d15d67260b6'
|
2021-01-05 17:20:01 +01:00 |
|
levlam
|
0ee37c5e64
|
Ensure that ChannelFull.member_count >= administrator_count after speculative update.
|
2021-01-05 15:18:15 +03:00 |
|
Andrea Cavalli
|
85fb357a19
|
Merge commit '82f0386e73b7128a8aafec5bfa7dd825fe94ac39'
Conflicts:
td/telegram/MessagesManager.cpp
|
2021-01-02 12:57:08 +01:00 |
|
levlam
|
82f0386e73
|
Move some functions from misc.h to algorithm.h.
|
2021-01-01 16:01:03 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
dbbfcd5d64
|
Update ChannelFull participant count only after channel is updated.
|
2021-01-01 02:46:37 +03:00 |
|
Andrea Cavalli
|
1f7ae82450
|
Update ContactsManager.cpp
|
2020-12-30 12:39:57 +01:00 |
|
Andrea Cavalli
|
343d28a6bc
|
Update ContactsManager.cpp
|
2020-12-30 12:39:19 +01:00 |
|
Andrea Cavalli
|
a6c0dbf160
|
Merge commit 'f7c01e88e36d3e49f3bf4b37ea71865324b0ecaa'
|
2020-12-30 02:20:47 +01:00 |
|
levlam
|
3f856ccb46
|
Don't load dialog after ChatFull is loaded from database.
|
2021-01-25 17:58:19 +03:00 |
|
levlam
|
cec5f11d17
|
Don't save group administrators after basic group full is loaded from database.
|
2021-01-25 17:41:49 +03:00 |
|
levlam
|
d25edad06d
|
Rewrite searchChatMembers and getSupergroupMembers implementation.
|
2021-01-25 17:34:45 +03:00 |
|
levlam
|
ef160aa2c0
|
Add struct DialogParticipants.
|
2021-01-25 02:00:57 +03:00 |
|
levlam
|
31265c93f1
|
Add ability to check whether a user is a mutual contact.
|
2021-01-21 16:49:41 +03:00 |
|
levlam
|
2394ccd29e
|
Decrease max_participant_count to not update it for groups with 5000+ members.
|
2020-12-29 14:41:17 +03:00 |
|
Andrea Cavalli
|
17e7e44f6e
|
Merge commit '8139e0d560b25cd2827fb0473e5726319998c10f'
Conflicts:
td/generate/scheme/td_api.tlo
td/telegram/GroupCallManager.cpp
td/telegram/MessagesManager.cpp
|
2020-12-28 19:09:04 +01:00 |
|
Andrea Cavalli
|
3817c4f634
|
Merge remote-tracking branch 'td/master'
|
2020-12-25 20:29:10 +01:00 |
|
Andrea Cavalli
|
f610ff028c
|
Merge
|
2020-12-25 20:24:09 +01:00 |
|
Andrea Cavalli
|
d0611518f6
|
Merge
|
2020-12-25 20:09:39 +01:00 |
|
Andrea Cavalli
|
8e99c3c873
|
Merge
|
2020-12-25 19:55:29 +01:00 |
|
Andrea Cavalli
|
c032df3b76
|
Merge
|
2020-12-25 19:09:41 +01:00 |
|
Andrea Cavalli
|
2144560f9d
|
Change nullptr
|
2020-12-25 19:09:24 +01:00 |
|
levlam
|
c8668f224c
|
Update ChannelFull.participant_count when channel.participant_count changes.
|
2020-12-25 18:06:54 +03:00 |
|
levlam
|
ce75097932
|
Increase ChannelFull.participant_count instead of decreasing administrator_count to guarantee that channel has no administrators more than participants.
|
2020-12-25 17:35:41 +03:00 |
|
levlam
|
3589676550
|
Minor fixes.
|
2020-12-22 15:51:57 +03:00 |
|
levlam
|
7d73126506
|
Add success promise to on_get_updates.
|
2020-12-21 22:06:52 +03:00 |
|
levlam
|
3413e38a61
|
Fix can_be_muted flag.
|
2020-12-18 17:08:24 +03:00 |
|
levlam
|
8dd4fe3166
|
Separately apply versioned and unversioned group call updates.
|
2020-12-18 16:23:49 +03:00 |
|
levlam
|
415a64ff24
|
Allow loading channel participants without bot info.
|
2020-12-16 17:43:34 +03:00 |
|
levlam
|
d165a87b73
|
Reload group call if rights has changed.
|
2020-12-16 16:38:06 +03:00 |
|
levlam
|
babd4dc35d
|
Add source to on_update_dialog_group_call.
|
2020-12-15 19:25:07 +03:00 |
|
levlam
|
47a00d257b
|
Fix basic group administrator rights.
|
2020-12-14 22:30:58 +03:00 |
|
levlam
|
98241af35a
|
Support voice chats in basic groups.
|
2020-12-14 17:33:02 +03:00 |
|
levlam
|
6ca15f18c8
|
Move voice chat-related fields to Dialog.
|
2020-12-14 00:36:44 +03:00 |
|
levlam
|
00eed8928c
|
Move voice chat creation to GroupCallManager.
|
2020-12-13 15:18:33 +03:00 |
|
levlam
|
6fdf68bad4
|
Store DialogId in information about group call.
|
2020-12-13 14:52:07 +03:00 |
|
levlam
|
91d4b57713
|
Add recent group call speakers.
|
2020-12-06 10:40:26 +03:00 |
|
levlam
|
f3c8ae83c5
|
Update channel when its group call is changed.
|
2020-12-05 21:28:57 +03:00 |
|
levlam
|
bc5a3d2cec
|
Add supergroup.is_voice_chat_empty flag.
|
2020-12-05 19:43:57 +03:00 |
|
levlam
|
eb9abbb9ab
|
Save voice chat channel_id.
|
2020-12-04 12:40:51 +03:00 |
|
levlam
|
34e05375c1
|
Add GroupCallId class.
|
2020-12-03 19:52:50 +03:00 |
|
levlam
|
eeee625803
|
Rename createVoiceChat method.
|
2020-12-03 01:08:20 +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 |
|
Andrea Cavalli
|
cba9f74cba
|
Merge remote-tracking branch 'td/master'
|
2020-11-22 01:11:21 +01:00 |
|
levlam
|
09b10c0ed1
|
Improve names of statistical classes.
|
2020-11-19 17:57:15 +03:00 |
|
Andrea Cavalli
|
2821f4af4f
|
Update ContactsManager.cpp
|
2020-11-10 13:05:13 +01:00 |
|
Andrea Cavalli
|
eb28f728be
|
Remove unused mutex
|
2020-11-10 12:42:35 +01:00 |
|
Andrea Cavalli
|
6f28ad36af
|
Merge commit '60edadab90d7aeb8d7a44764344b8848abf5b8bb'
Conflicts:
td/telegram/MessagesManager.cpp
|
2020-11-07 23:10:26 +01:00 |
|
levlam
|
398c7cfd52
|
Don't drop administrator count in non-admined supergroups.
|
2020-11-06 15:16:30 +03: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
|
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
|
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
|
974feddb4a
|
Reload full chat info after pinned message is dropped.
GitOrigin-RevId: 6cbf3d217b5da21f050715ed290cb122d6a4ef2c
|
2020-10-28 14:25:27 +03:00 |
|
Andrea Cavalli
|
134d20b7ec
|
Merge commit 'bf945e05be9a9f696bdd866cc3427ac1bc7a4825'
|
2020-10-26 21:55:16 +01:00 |
|
Andrea Cavalli
|
52e41fbb76
|
Fix TTL not set
|
2020-10-26 13:08:23 +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
|
bc2de6e5c0
|
Fix td_api::userFullInfo field order.
GitOrigin-RevId: 420adf21e8be165f4783aa1aca4130fb579fa3c2
|
2020-10-24 16:42:17 +03:00 |
|
Andrea Cavalli
|
11332192a0
|
Keep uninitialized data
|
2020-10-22 19:07:36 +02:00 |
|
levlam
|
a6f9fde223
|
Update built-in bot flags.
GitOrigin-RevId: f54618d393b39e14f1269c8237d971ff47402a72
|
2020-10-22 13:21:51 +03:00 |
|
Andrea Cavalli
|
6babc009d7
|
Fix data ttl
|
2020-10-21 21:36:13 +02:00 |
|
Andrea Cavalli
|
f9c9f2bd59
|
Update ContactsManager.cpp
|
2020-10-21 03:41:05 +02: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
|
5442143aba
|
Rename pinned_message_id to last_pinned_message_id.
GitOrigin-RevId: c30148f3559f4ebecd3988c4bddc6cff82da3557
|
2020-10-20 20:28:37 +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
|
9fb26c4ea2
|
Return back UserFull.is_blocked.
GitOrigin-RevId: 98bc31a64c4c644fd6bb9e6e895d521b17df5afa
|
2020-10-17 23:38:07 +03:00 |
|
levlam
|
af6fe68c00
|
Allow to pin messages in all private chats.
GitOrigin-RevId: b5f55c22a6ec5950f5b88b66726bce918112d57f
|
2020-10-15 17:21:15 +03:00 |
|
levlam
|
d968fd0bed
|
Implement new chat action rules.
GitOrigin-RevId: 12214755c86adfee0a7b3ec5f6e39024364cdb99
|
2020-10-26 15:25:34 +03:00 |
|
levlam
|
348fdf1a31
|
Add "group_anonymous_bot_user_id" option.
GitOrigin-RevId: efb6ee569861df005a53fd0255c50fdfa0460382
|
2020-10-13 17:02:10 +03:00 |
|
Andrea Cavalli
|
fc5b0e9d06
|
Merge commit '6b1f6b829d0d71f5d50662b1ff58b7869c1e1d7f'
Conflicts:
td/telegram/Client.cpp
td/telegram/cli.cpp
|
2020-10-12 16:15:14 +02:00 |
|
Andrea Cavalli
|
0da9b62eda
|
Merge commit '7207d76a809598d019e17fb04b2edc46789c6e22'
Conflicts:
td/telegram/Client.cpp
|
2020-10-12 16:12:59 +02:00 |
|
Andrea Cavalli
|
f423fc0d81
|
Merge commit '35a9a93fc9adfbced4d5f59baf0c72a2f807f28a'
Conflicts:
td/telegram/Client.cpp
td/telegram/StickersManager.cpp
td/telegram/WebPagesManager.cpp
|
2020-10-12 16:10:48 +02:00 |
|
Andrea Cavalli
|
ccaec7e042
|
Merge commit '3fc140b4a260c606e5c6d79ef148d4beeb37048a'
Conflicts:
td/telegram/Client.cpp
td/telegram/Client.h
|
2020-10-12 15:41:34 +02:00 |
|