levlam
|
313a58b952
|
Replace td_api::sendChatSetTtlMessage with td_api::setChatMessageTtl.
|
2021-02-05 14:21:16 +03:00 |
|
levlam
|
fef8bd151c
|
Support some new chat events.
|
2021-02-05 02:54:34 +03:00 |
|
levlam
|
0cdb0388ee
|
Improve TTL spelling.
|
2021-02-02 02:33:48 +03:00 |
|
levlam
|
642a9a9efb
|
Update layer to 124.
|
2021-02-02 02:00:28 +03:00 |
|
levlam
|
5f54e72444
|
Process toggleGroupCallMuteNewParticipants immediately and sync in background.
|
2021-02-15 18:12:50 +03:00 |
|
levlam
|
c8157edf57
|
Don't save message file source IDs for bots.
|
2021-02-14 01:35:40 +03:00 |
|
levlam
|
578b8a4dec
|
Minor performance improvements.
|
2021-02-14 01:25:17 +03:00 |
|
levlam
|
b767414fc1
|
Resave dialog if last message can't be added.
|
2021-02-10 15:25:18 +03:00 |
|
levlam
|
65a7715248
|
Pass promise to MessagesManager::on_dialog_deleted.
|
2021-02-04 16:01:04 +03:00 |
|
levlam
|
ad0c5e6783
|
Minor improvements.
|
2021-02-01 13:41:20 +03:00 |
|
levlam
|
f0355b42c4
|
Disable notifications for importe messages.
|
2021-01-28 22:12:55 +03:00 |
|
levlam
|
9e37c85af3
|
Minor improvements.
|
2021-01-27 02:57:59 +03:00 |
|
levlam
|
cd3abdbeb2
|
Move dialog participant methods from MessagesManager to ContactsManager.
|
2021-01-27 02:16:17 +03:00 |
|
levlam
|
d648ce0b69
|
Remove chatActionImportingMessages.
|
2021-01-26 03:13:09 +03:00 |
|
levlam
|
ef59e47807
|
Fix uploadImportedMedia.
|
2021-01-26 02:55:48 +03:00 |
|
levlam
|
15fe7f7a04
|
Rename suggested_name to suggested_path.
|
2021-01-26 02:39:48 +03:00 |
|
levlam
|
0b868c0aad
|
Add chatActionBarInviteMembers.
|
2021-01-26 02:22:35 +03:00 |
|
levlam
|
f77adeb28c
|
Update layer 123.
|
2021-01-26 02:00:12 +03:00 |
|
levlam
|
60b76e89aa
|
Allow import messages with can_change_info administrator right.
|
2021-01-22 23:45:39 +03:00 |
|
levlam
|
6ddce1dd7a
|
Add name to messageFileTypePrivate.
|
2021-01-22 22:42:32 +03:00 |
|
levlam
|
e584eccc65
|
Add createNewSupergroupChat.for_import.
|
2021-01-22 19:23:44 +03:00 |
|
levlam
|
1159323ecc
|
Add getMessageFileType method.
|
2021-01-22 19:14:35 +03:00 |
|
levlam
|
bff723436a
|
Upload inported messages as small files.
|
2021-01-22 18:13:38 +03:00 |
|
levlam
|
f307200ddc
|
Support attachment upload in importMessages.
|
2021-01-22 17:09:08 +03:00 |
|
levlam
|
6f38576467
|
Add FileManager::guess_file_type.
|
2021-01-22 15:17:56 +03:00 |
|
levlam
|
b8d8f18b91
|
Add chatReportReasonFake.
|
2021-01-22 00:55:42 +03:00 |
|
levlam
|
516f9cb9ce
|
Add importMessages method.
|
2021-01-21 22:00:08 +03:00 |
|
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
|
0b7ce1c647
|
Update layer 123. Support new generateChatInviteLink.
|
2021-01-12 17:05:25 +03:00 |
|
levlam
|
567707099e
|
Use messageEmpty.peer_id.
|
2021-01-02 23:32:02 +03: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
|
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 |
|
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 |
|
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 |
|
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 |
|
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
|
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 |
|
levlam
|
9ca42ec8da
|
Check message pts before merging files.
|
2020-12-25 16:12:09 +03: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 |
|