levlam
|
7b3f60ea85
|
Fix warning.
|
2021-08-22 11:01:49 +03:00 |
|
levlam
|
d6679a0179
|
Add even more DuplicateChecker benchmarks.
|
2021-08-22 10:59:50 +03:00 |
|
levlam
|
a2f3c4c788
|
Add array-based duplicate checker to benchmark.
|
2021-08-22 10:49:40 +03:00 |
|
levlam
|
f9b71104d4
|
Add DuplicateChecker benchmark with repeated message_id.
|
2021-08-22 10:25:11 +03:00 |
|
levlam
|
e0f80ca008
|
Add DuplicateChecker benchmark.
|
2021-08-22 09:39:43 +03:00 |
|
levlam
|
5302569289
|
Fix MTProto tests.
|
2021-08-21 23:13:36 +03:00 |
|
levlam
|
d154399d70
|
Optimize MessageIdDuplicateChecker::check.
|
2021-08-21 22:41:06 +03:00 |
|
levlam
|
43d9ba81ac
|
Prefer std::unordered_map to std::map.
|
2021-08-21 21:42:07 +03:00 |
|
levlam
|
d229c5daed
|
Fix handling of empty permissions in chatMemberStatusRestricted.
|
2021-08-21 19:57:01 +03:00 |
|
levlam
|
1a2faf5ae6
|
Add feedback_link to WebPageInstantView.
|
2021-08-21 10:22:41 +03:00 |
|
levlam
|
6393923d3a
|
Make internalLinkTypeUnknownDeepLink self-contained.
|
2021-08-20 20:56:07 +03:00 |
|
levlam
|
df11403739
|
Make internalLinkTypeMessage self-contained.
|
2021-08-20 20:27:39 +03:00 |
|
levlam
|
618742acc2
|
Make internalLinkTypeChatInvite self-contained.
|
2021-08-20 18:44:02 +03:00 |
|
levlam
|
241718eae8
|
Extract pts and qts updates and apply them during getDifference.
|
2021-08-20 17:21:31 +03:00 |
|
levlam
|
a7e2e85119
|
Simplify check that all updates were processed.
|
2021-08-20 15:04:24 +03:00 |
|
levlam
|
7129a6d090
|
Apply typings and other short updates immediately.
|
2021-08-20 14:18:11 +03:00 |
|
levlam
|
7261c9579f
|
Improve logging.
|
2021-08-20 10:57:19 +03:00 |
|
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 |
|