Andrea Cavalli
343d28a6bc
Update ContactsManager.cpp
2020-12-30 12:39:19 +01:00
Andrea Cavalli
9a82abea56
Update MessagesManager.cpp
2020-12-30 12:37:21 +01:00
Andrea Cavalli
a6c0dbf160
Merge commit 'f7c01e88e36d3e49f3bf4b37ea71865324b0ecaa'
2020-12-30 02:20:47 +01:00
Andrea Cavalli
ee8260fc2e
Fix abort inside GroupCallManager
2020-12-30 02:19:30 +01:00
levlam
f7c01e88e3
Add comment.
2020-12-29 15:51:12 +03:00
levlam
ccd99ac16a
Do not treat empty messages as deleted for bots.
2020-12-29 15:44:43 +03:00
levlam
1c150610d0
Silence expected warning.
2020-12-29 15:32:36 +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
levlam
92f9a4c54c
tg_cli: add gghs and sgs.
2020-12-28 23:35:05 +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
levlam
aee5806593
Improve error message.
2020-12-28 18:57:41 +03:00
Andrea Cavalli
7ef40eea0c
Group call patches
...
Add disable_group_calls boolean option
Add memory_cleanup and memory_stats to FileReferenceManager
Add memory_cleanup and memory_stats to GroupCallManager
2020-12-28 16:10:05 +01:00
levlam
584b5352ca
Replace error message on closing.
2020-12-28 17:18:17 +03:00
levlam
8139e0d560
Update forward_count and thread reply_info only after updateNewMessage is sent.
2020-12-28 16:58:50 +03:00
levlam
6af4338f8b
Add MessagesManager::update_forward_count.
2020-12-28 16:21:39 +03:00
levlam
5f02a34c34
Don't hide reply info for yet unsent messages.
2020-12-28 15:19:56 +03:00
levlam
2c8cfc561c
Add is_speaking flag for recent speakers.
2020-12-28 14:19:29 +03:00
levlam
1f9d173afb
Automatically check whether group call is still joined.
2020-12-28 00:30:27 +03:00
levlam
1d155a8492
tg_cli: add get_chat_report_reason.
2020-12-26 21:53:39 +03:00
levlam
48f5169101
tg_cli: add get_supergroup_members_filter.
2020-12-26 21:45:19 +03:00
levlam
f56ea08096
tg_cli: add get_user_privacy_setting_rules.
2020-12-26 21:32:21 +03:00
levlam
d23e6ad352
tg_cli: combine Search* methods.
2020-12-26 21:12:09 +03:00
levlam
4de797e4bd
tg_cli: use rand_bool everywhere.
2020-12-26 21:01:57 +03:00
levlam
6654464360
tg_cli: use get_args if possible.
2020-12-26 20:58:30 +03:00
levlam
168becf215
tg_cli: simplify SearchQuery parsing.
2020-12-26 20:47:51 +03:00
levlam
2097d88006
tg_cli: use get_args to read integer parameters.
2020-12-26 20:26:19 +03:00
levlam
e53ffdb101
tg_cli: use get_args to read bool parameters.
2020-12-26 19:59:45 +03:00
levlam
48a47618ca
tg_cli: add get_args.
2020-12-26 19:40:46 +03:00
levlam
77112f53d7
tg_cli: add as_limit.
2020-12-26 01:25:00 +03:00
levlam
30d912bd4b
Set is_pinned flag for last_pinned_message_id.
2020-12-26 01:05:24 +03:00
levlam
f4ec6e6cfc
tg_cli: add get_search_query.
2020-12-26 00:43:38 +03: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
e463fb4fb8
Fix checks
2020-12-25 20:18:52 +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
b8d25b319e
Merge
2020-12-25 19:36:46 +01:00
Andrea Cavalli
a2f86155a9
Replace nullptr
2020-12-25 19:36:05 +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
Andrea Cavalli
204757e075
Merge
2020-12-25 18:58:35 +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
9ca42ec8da
Check message pts before merging files.
2020-12-25 16:12:09 +03:00
Andrea Cavalli
7e0b964137
Fix #3
2020-12-25 02:34:42 +01:00
Andrea Cavalli
5fa69429a5
Fix #4
2020-12-25 02:24:42 +01:00
levlam
b70eb33158
Save pts of the last processed message edit.
2020-12-25 03:31:12 +03:00
levlam
ebc4e57da7
Minor improvements of process_update.
2020-12-25 03:19:10 +03:00
levlam
a8377db05d
Simplify handling of updateNewChannelMessage and updateEditChannelMessage.
2020-12-25 02:56:22 +03:00
levlam
b867a597e8
Simplify add_pending_channel_update calls.
2020-12-25 02:37:14 +03:00