levlam
|
ca03135f02
|
Use (1 << 30) as pts overflow mark. At least 1e9 must be used, because pts can jump from 1 to 1e9 when switching to tmessages.
|
2021-08-26 18:05:27 +03:00 |
|
levlam
|
e31a48998d
|
Remove "Filling gap" warnings during getDifference.
|
2021-08-26 17:23:18 +03:00 |
|
levlam
|
fcfbb38f63
|
Fix MessageId::is_valid_scheduled.
|
2021-08-25 11:29:57 +03:00 |
|
levlam
|
8559392f6f
|
Fix Dialog pts in run_after_channel_difference.
|
2021-08-25 11:21:17 +03:00 |
|
levlam
|
628648cd6c
|
Use set_dialog_last_pinned_message_id instead of on_update_dialog_last_pinned_message_id.
|
2021-08-25 11:09:24 +03:00 |
|
levlam
|
dbdf69d076
|
Simplify on_update_dialog_last_pinned_message_id.
|
2021-08-25 11:03:07 +03:00 |
|
levlam
|
bba085318e
|
Return BackgroundType from on_get_background.
|
2021-08-24 17:13:51 +03:00 |
|
levlam
|
8e7eba4f8c
|
Reload ChannelFull in get_channel_statistics_dc_id.
|
2021-08-23 11:59:37 +03:00 |
|
levlam
|
ddb3c56ddb
|
Add one more MessageIdDuplicateChecker benchmark.
|
2021-08-23 11:17:25 +03:00 |
|
levlam
|
828e1e22a0
|
Skip unneeded getFullChannel requests.
|
2021-08-23 11:10:46 +03:00 |
|
levlam
|
3749e1f672
|
Add warning for very old updates.
|
2021-08-23 00:08:05 +03:00 |
|
levlam
|
6507fb7602
|
Use array-based MessageIdDuplicateChecker.
|
2021-08-22 22:08:46 +03:00 |
|
levlam
|
b3aa31d398
|
Minor cut_tail improvements.
|
2021-08-22 13:36:47 +03:00 |
|
levlam
|
4a3f56e6c1
|
Check that updates aren't received in rpc_result.
|
2021-08-22 13:23:21 +03:00 |
|
levlam
|
7faf7aeba7
|
Improve logging on too old update.
|
2021-08-22 13:16:10 +03:00 |
|
levlam
|
e66ee3eeae
|
Add check for code 2.
|
2021-08-22 11:47:57 +03:00 |
|
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
|
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 |
|
levlam
|
c667f6c9bb
|
Improve test.
|
2021-08-05 01:23:16 +03:00 |
|
levlam
|
da3b8f93a0
|
Hide too big media timestamps.
|
2021-08-04 09:28:53 +03:00 |
|
levlam
|
304280df69
|
Add message.can_get_media_timestamp_links.
|
2021-08-04 07:57:27 +03:00 |
|
levlam
|
45bf232417
|
Fimd media timestamp entities in find_entities.
|
2021-08-04 04:26:41 +03:00 |
|
Andrea Cavalli
|
d341c79aa8
|
Merge remote-tracking branch 'td/master'
|
2021-08-03 19:56:27 +02:00 |
|
Andrea Cavalli
|
fe8f46bfe3
|
Disable leftover minithumbnails if the option is set
|
2021-08-03 19:55:27 +02:00 |
|
levlam
|
f8ab675ad1
|
Better condition to skip merge of GIF and MP4 animations.
|
2021-08-03 03:13:56 +03:00 |
|
levlam
|
13d5854e2f
|
Update match_cashtags.
|
2021-08-03 02:58:12 +03:00 |
|
levlam
|
0dc42e4410
|
Add source to get_message_sender_object.
|
2021-08-03 01:58:02 +03:00 |
|
levlam
|
48ce26b6c2
|
Improve source in get_dimensions.
|
2021-08-03 01:57:46 +03:00 |
|
Andrea Cavalli
|
d79f12d21f
|
Remove unneeded warning
|
2021-08-02 10:58:23 +02:00 |
|
Andrea Cavalli
|
4286622a5a
|
Merge remote-tracking branch 'td/master'
|
2021-08-02 10:47:33 +02:00 |
|
levlam
|
9e7bce1b06
|
Don't warn about sent message ID decrease after message ID overflow.
|
2021-08-02 07:21:36 +03:00 |
|