Andrea Cavalli
60173675f8
Fix #11
2021-01-05 17:29:45 +01:00
Andrea Cavalli
cbd6a55619
Fix #10
2021-01-05 17:29:06 +01:00
Andrea Cavalli
ff5b3840aa
Reduce log levels
2021-01-05 17:27:12 +01:00
Andrea Cavalli
8b7c89db03
postponed_pts_update log tag
2021-01-05 14:40:44 +01:00
Andrea Cavalli
c7820e2d15
Add missing logs
2021-01-05 12:50:08 +01:00
Andrea Cavalli
af4693eac7
Add "messages" log tag
2021-01-05 12:27:29 +01:00
Andrea Cavalli
934c13ca79
Optimize_memory code cleanup, add more error messages in MessagesManager
2021-01-05 02:37:34 +01: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
d9fa3b3f36
Fix CHECK.
2021-01-01 02:21:50 +03:00
levlam
371ec422e6
Don't fix reply_to_message_id in message thread drafts.
2020-12-30 15:09:41 +03:00
levlam
b1ffe39759
Improve "Restore pts" warnings.
2020-12-30 14:57:43 +03: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
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
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
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
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
30d912bd4b
Set is_pinned flag for last_pinned_message_id.
2020-12-26 01:05:24 +03: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
204757e075
Merge
2020-12-25 18:58:35 +01:00
levlam
9ca42ec8da
Check message pts before merging files.
2020-12-25 16:12:09 +03: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
levlam
d191bc49b6
Save updates with pts_count == 0 to postpone setting their promises.
2020-12-25 01:32:31 +03:00
levlam
4a28b98022
Pass promise to add_pending_channel_update.
2020-12-25 00:20:21 +03:00
levlam
3dbc996acc
Postpone pts updates, which can't be applied right now.
2020-12-24 23:32:32 +03:00
levlam
4ea10b3de6
Pass promise to MessagesManager::add_pending_update.
2020-12-24 21:56:15 +03:00
levlam
7d73126506
Add success promise to on_get_updates.
2020-12-21 22:06:52 +03:00
levlam
f11877f6ed
Remove null messages from search-like request responses.
2020-12-20 14:08:11 +03:00
levlam
bbde4f32c6
Allow to specify emoji for sent stickers.
2020-12-19 14:31:42 +03:00
levlam
8dd4fe3166
Separately apply versioned and unversioned group call updates.
2020-12-18 16:23:49 +03:00
levlam
e856788f52
Reload group call when chat is opened.
2020-12-17 18:38:27 +03:00
levlam
2a50685321
Add separate GroupCallManager::on_update_group_call_rights method.
2020-12-17 18:27:01 +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
adca19d4da
Fix group call version initialization.
2020-12-15 15:40:52 +03:00
levlam
6ca15f18c8
Move voice chat-related fields to Dialog.
2020-12-14 00:36:44 +03:00