levlam
|
a6ba1240c1
|
Fix applying of postponed updates.
|
2021-08-20 10:29:57 +03:00 |
|
levlam
|
4988e94c02
|
Don't save pts too often for bots.
|
2021-08-19 20:36:26 +03:00 |
|
levlam
|
0f50f7a0f4
|
Ensure that channel Dialog exists before setting retry timeout.
|
2021-08-19 08:57:01 +03:00 |
|
levlam
|
5c2441021e
|
Add fast path in remove_invalid_entities.
|
2021-08-18 21:37:31 +03:00 |
|
levlam
|
ca9dd55141
|
Improve documentation.
|
2021-08-18 21:08:51 +03:00 |
|
levlam
|
5b6e2d2c90
|
Add ThreadSafeCounter benchmark.
|
2021-08-18 19:26:03 +03:00 |
|
levlam
|
53912a8b52
|
Move bench_misc out of namespace td.
|
2021-08-18 18:22:41 +03:00 |
|
levlam
|
23f5c52ad9
|
Support applying multiple postponed updates at once.
|
2021-08-18 17:40:28 +03:00 |
|
levlam
|
2eaa026bb7
|
Increase number of stored recently found chats.
|
2021-08-17 18:11:32 +03:00 |
|
levlam
|
7ac3c2bdb9
|
Update accumulated_pts_count_ when a pending pts update is processed.
|
2021-08-16 14:02:15 +03:00 |
|
levlam
|
c19a0751f0
|
Apply postponed pts/qts updates after each getDifference iteration.
|
2021-08-16 13:35:30 +03:00 |
|
levlam
|
b9b9f56b24
|
Process pending pts updates as fast as possible.
|
2021-08-16 12:19:30 +03:00 |
|
levlam
|
0f5127602a
|
Cancel previous gap timeout if processed a pending update.
|
2021-08-16 08:38:29 +03:00 |
|
levlam
|
78534b15cf
|
Minor improvememnts.
|
2021-08-16 01:30:38 +03:00 |
|
levlam
|
82918559b8
|
Refactor processing of differenceSlice.
|
2021-08-16 01:00:49 +03:00 |
|
levlam
|
2e524bb819
|
Fix log message.
|
2021-08-16 00:11:48 +03:00 |
|
levlam
|
2128c2e5ad
|
Improve getDifference logging.
|
2021-08-15 22:54:18 +03:00 |
|
levlam
|
1f486a694b
|
Switch back from getDifference to updates processing as fast as possible.
|
2021-08-15 22:34:03 +03:00 |
|
levlam
|
d7dd6ff1ea
|
Improve logging.
|
2021-08-15 22:31:24 +03:00 |
|
levlam
|
d161323858
|
Add delay before reading history on server in non-joined channels with wrong server_unread_count.
|
2021-08-15 14:46:19 +03:00 |
|
levlam
|
6194d9ec14
|
Drop pending seq/qts updates received before seq/qts overflow.
|
2021-08-15 13:52:00 +03:00 |
|
levlam
|
8ac0b02a6d
|
Improve warnings on long gap fill.
|
2021-08-15 12:51:57 +03:00 |
|
levlam
|
9a5872fe27
|
Use update receive time to calculate proper gap time.
|
2021-08-15 12:46:38 +03:00 |
|
levlam
|
9b801645f0
|
Set gap timeout if it has decreased.
|
2021-08-15 11:43:00 +03:00 |
|
levlam
|
5349e63c2b
|
Add Timeout::get_timeout.
|
2021-08-15 11:15:14 +03:00 |
|
levlam
|
99375ff157
|
Improve pos checks in KHeap.
|
2021-08-15 10:59:12 +03:00 |
|
levlam
|
65094f66bd
|
Shrink long KHeap arrays.
|
2021-08-15 10:46:41 +03:00 |
|
levlam
|
7cb54fddb9
|
Improve some internal link documentation.
|
2021-08-14 22:25:53 +03:00 |
|
levlam
|
957150a59c
|
Add space before supeflous phone number digits.
|
2021-08-13 21:06:54 +03:00 |
|
levlam
|
e62655efdf
|
Add message.has_timestamped_media.
|
2021-08-13 14:49:24 +03:00 |
|
levlam
|
1885d232a9
|
Add parameter is_message_in_dialog to update_message.
|
2021-08-13 13:36:07 +03:00 |
|
levlam
|
4b06cb9f08
|
Avoid reply and bot commands registration for messages not in Dialog.
|
2021-08-13 13:19:58 +03:00 |
|
levlam
|
a59a916f21
|
Fix MessageEntity constructors.
|
2021-08-13 13:10:54 +03:00 |
|
levlam
|
ec55ca1d5c
|
Improve logging.
|
2021-08-13 13:03:55 +03:00 |
|
levlam
|
bff8f7550f
|
Return MessageThreadInfo from GetDiscussionMessageQuery.
|
2021-08-13 12:26:47 +03:00 |
|
levlam
|
05c9934074
|
Add MessageThreadInfo.h.
|
2021-08-12 22:00:27 +03:00 |
|
levlam
|
01d83bf85c
|
Update CentOS 8 repo name.
|
2021-08-12 20:42:37 +03:00 |
|
levlam
|
45790b144c
|
Fix ChannelFull dependencies.
|
2021-08-11 16:52:34 +03:00 |
|
levlam
|
394e3450de
|
Send updateMessageContent only for message known to the app.
|
2021-08-10 16:18:08 +03:00 |
|
levlam
|
bed3448fe1
|
Don't store server-generated message links.
|
2021-08-10 15:58:39 +03:00 |
|
levlam
|
db9db0eff1
|
Improve for_group flag in media timestamp links.
|
2021-08-09 20:47:03 +03:00 |
|
levlam
|
4b631b16bf
|
Find MediaTimestamp entities in old messages.
|
2021-08-09 19:37:47 +03:00 |
|
levlam
|
0c3a9aebd8
|
Fix CHECK.
|
2021-08-09 17:48:57 +03:00 |
|
levlam
|
2098f10441
|
Store media_timestamp in a separate field.
|
2021-08-06 09:14:52 +03:00 |
|
levlam
|
eee773901c
|
Update max_reply_media_timestamp in replies when needed.
|
2021-08-06 05:55:43 +03:00 |
|
levlam
|
40d953ba20
|
Init max media timestamps for scheduled messages.
|
2021-08-05 10:41:13 +03:00 |
|
levlam
|
0e6584db87
|
Send updateChatLastMessage if content of the last yyet unsent message changes.
|
2021-08-05 10:13:06 +03:00 |
|
levlam
|
4ae305d8c4
|
Update max_media_timestamp when message content is changed.
|
2021-08-05 09:59:43 +03:00 |
|
levlam
|
2605cd374b
|
Add has_media_timestamps.
|
2021-08-05 05:41:24 +03:00 |
|
levlam
|
9653cc9e3e
|
Add separate get_message_content_media_duration.
|
2021-08-05 02:09:04 +03:00 |
|