levlam
ebb453c952
Add messageForwardOriginMessageImport.
2021-01-21 12:49:05 +03:00
levlam
da4d2b7636
Add separate banChatMember method.
2021-01-20 21:12:48 +03:00
levlam
1b7c6a9c31
Update layer 123.
2021-01-20 16:12:03 +03:00
levlam
613caeb444
Add source to send_get_dialog_query.
2021-01-20 15:02:45 +03:00
levlam
dbf1253075
Replace deleteSupergroup with universal deleteChat method.
2021-01-20 14:49:18 +03:00
levlam
4fa29ab1b8
Add deleteAllCallMessages method.
2021-01-19 13:21:50 +03:00
levlam
027c78c691
Remove wrong error logging.
2021-01-18 13:32:44 +03:00
levlam
451c0afe60
Fix ChatFullInfo reloading due to uninited is_is_blocked_inited.
2021-01-16 12:33:45 +03:00
levlam
2348e175d9
Add source to get_chat_full_force.
2021-01-16 12:30:48 +03:00
levlam
52b7f8f118
Add DialogParticipantFilter logging.
2021-01-16 11:56:02 +03:00
levlam
0e961b0be7
Move dummyUpdate/updateSentMessage to UpdatesManager.
2021-01-16 01:51:01 +03:00
levlam
ef920f297d
Move handling of pending pts updates to UpdatesManager.
2021-01-16 01:17:35 +03:00
levlam
3c1341731c
Move check_pts_update to UpdatesManager.
2021-01-15 23:39:34 +03:00
levlam
10ec257921
Hide message interaction info for yet unsent supergroup messages.
2021-01-15 14:01:48 +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
levlam
36b4c55927
Remove force_apply from add_pending_update.
2021-01-12 01:52:10 +03:00
levlam
efec8787d8
Add MessagesManager::check_pts_update.
2021-01-11 23:31:25 +03:00
Andrea Cavalli
5af21e5612
Merge commit 'c5549b73460f58addfaea52c0bef98a94483211f'
...
Conflicts:
td/telegram/MessagesManager.cpp
2021-01-08 14:40:25 +01:00
levlam
c5549b7346
Improve log messages.
2021-01-08 16:05:16 +03:00
levlam
c271524019
Treat updates with too big pts as outdated.
2021-01-08 14:43:00 +03:00
levlam
eab5532688
Fix applying of postponed pts updates.
2021-01-08 14:37:50 +03:00
Andrea Cavalli
08bd345987
Change default values of experimental options
2021-01-07 19:18:45 +01:00
Andrea Cavalli
e0bcdab68f
Add experiment_old_postponed_pts_updates_behavior option
2021-01-07 13:08:07 +01:00
Andrea Cavalli
53ed453f0b
Revert CHECK
2021-01-06 21:15:50 +01:00
Andrea Cavalli
ae119e4fc7
Fix typo
2021-01-05 17:48:21 +01:00
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
levlam
567707099e
Use messageEmpty.peer_id.
2021-01-02 23:32:02 +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
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
3f856ccb46
Don't load dialog after ChatFull is loaded from database.
2021-01-25 17:58:19 +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
feba24f1f4
Improve updating first/last database message IDs in on_get_history.
2021-01-25 01:19:41 +03:00
levlam
c169067bb5
Improve logging.
2021-01-24 23:45:03 +03:00
levlam
e63776dbd3
Improve updating first/last database message IDs in on_get_history.
2021-01-24 23:27:53 +03:00
levlam
08b3ce0aac
Fix updating last database message ID after channelDifferenceTooLong.
2021-01-24 23:07:55 +03:00
levlam
d36ee86027
Stricter conditions for setting have_full_history.
2021-01-24 22:45:25 +03:00
levlam
527c61caeb
Skip send_update_chat_has_scheduled_messages call if there was no scheduled message changes.
2021-01-24 03:29:54 +03:00
levlam
77a404d313
Delete updateMessageId if target message is in inaccessible chat part.
2021-01-24 03:20:19 +03:00
levlam
3e90584859
Delete updateMessageId whenever target message is found to be deleted.
2021-01-24 02:49:01 +03:00
levlam
c3e4560811
Add MessagesManager::delete_update_message_id method.
2021-01-24 02:14:51 +03:00
levlam
960aae0ae6
Improve handling of via_bot_name.
2021-01-23 23:19:37 +03:00
levlam
9c961b2eb8
Optimize database_message_id updating in on_get_history.
2021-01-21 23:37:00 +03: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
levlam
6fdf68bad4
Store DialogId in information about group call.
2020-12-13 14:52:07 +03:00
levlam
07735c27e8
Add related to voice chats chat log event actions.
2020-12-08 20:02:12 +03:00
levlam
707f83e755
Add voice_chat_changes chat log event filter.
2020-12-08 18:42:31 +03:00
levlam
5c832cb361
Update layer 122.
2020-12-08 02:06:20 +03:00
levlam
6af2f71ddd
Get unknown speaking users from the server by their user_id.
2020-12-07 00:38:23 +03:00
levlam
91d4b57713
Add recent group call speakers.
2020-12-06 10:40:26 +03:00
levlam
fcbc9915bd
Try not to update twice message interaction info.
2020-12-05 16:23:22 +03:00
levlam
ce4054c5d4
Add messageGroupCall and messageInviteToGroupCall.
2020-11-24 14:33:16 +03:00