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 |
|