levlam
|
2ee0eb67f3
|
Support storing additional data about forum topics.
|
2022-11-15 16:59:32 +03:00 |
|
levlam
|
24be58d083
|
Move ForumTopicInfo out of ForumTopic.
|
2022-11-15 16:14:57 +03:00 |
|
levlam
|
0f357cdb95
|
Apply information about forum topics from messages.channelMessages.
|
2022-11-15 16:00:19 +03:00 |
|
levlam
|
b2aef90b1a
|
Support new ForumTopic fields.
|
2022-11-15 14:54:57 +03:00 |
|
levlam
|
92d44a5282
|
Fix checkChatUsernameResultPublicChatsTooMany spelling.
|
2022-11-15 14:48:50 +03:00 |
|
levlam
|
a20076b620
|
Add checkChatUsernameResultUsernamePurchasable.
|
2022-11-15 14:27:18 +03:00 |
|
levlam
|
47c8d957a1
|
Update layer to 149.
|
2022-11-10 20:27:09 +03:00 |
|
levlam
|
d581e0499a
|
Allow to read deleted thread messages.
|
2022-11-28 17:54:32 +03:00 |
|
levlam
|
c8507ec16a
|
Add time limit for applying of pending PTS updates.
|
2022-11-27 00:59:09 +03:00 |
|
levlam
|
d6842ced1b
|
Avoid update about deleted closed polls.
|
2022-11-26 12:35:29 +03:00 |
|
levlam
|
ed1457b69b
|
Use std:🧵:native_handle() only for MSVC, because it is unsafe to assume native_handle_type otherwise.
|
2022-11-26 02:48:43 +03:00 |
|
Eric Kotato
|
6679837ea1
|
Fix MinGW (32-bit) out of memory error (#2212)
|
2022-11-26 00:48:53 +03:00 |
|
Eric Kotato
|
b281a719fa
|
Fix MinGW threading compilation error (#2210)
|
2022-11-26 00:36:48 +03:00 |
|
levlam
|
409f7f5dd7
|
Do nothing in MessagesManager::reload_voice_chat_on_search before authorization.
|
2022-11-25 18:58:17 +03:00 |
|
levlam
|
3ec53c8d78
|
Fix compilation error.
|
2022-11-24 15:25:15 +03:00 |
|
levlam
|
276b654f27
|
Return back randomize_hash to WaitFreeHashMap.
|
2022-11-24 02:09:04 +03:00 |
|
levlam
|
6464cff5ef
|
Fix warning.
|
2022-11-23 23:14:51 +03:00 |
|
levlam
|
af05db3f15
|
Add td::Hash and use it everywhere instead of unusable std::hash.
|
2022-11-23 19:37:32 +03:00 |
|
levlam
|
b1ddf9d3a7
|
Minor fixes.
|
2022-11-23 16:32:09 +03:00 |
|
levlam
|
0455f8cfbb
|
Skip too old channel difference for bots.
|
2022-11-23 13:21:46 +03:00 |
|
levlam
|
62d5ffcd86
|
Fix logging.
|
2022-11-23 01:00:29 +03:00 |
|
levlam
|
8a73d14c0f
|
Minor FloodControlFast improvements.
|
2022-11-23 00:45:17 +03:00 |
|
Arseny Smirnov
|
b9210f7f6d
|
Rewrite FoodControlFast: now it uses a bucket logic
|
2022-11-22 15:59:01 +01:00 |
|
levlam
|
b7e4d567c7
|
HttpReader: fix keep-alive flag.
|
2022-11-22 15:46:53 +03:00 |
|
levlam
|
0eefb331f8
|
Improve size formatting.
|
2022-11-22 14:50:10 +03:00 |
|
levlam
|
a776ac7566
|
Improve log message for failed to generate files.
|
2022-11-22 14:15:37 +03:00 |
|
levlam
|
f53cf540b7
|
Use WaitFreeHashMap to store poll messages.
|
2022-11-22 12:58:07 +03:00 |
|
levlam
|
5491cc3940
|
Store polls in a WaitFreeHashMap.
|
2022-11-22 12:23:58 +03:00 |
|
levlam
|
dd01e73c8f
|
Don't send updateMessageContent about poll messages to bots when the poll is changed.
|
2022-11-22 12:15:58 +03:00 |
|
levlam
|
468edb4d61
|
Use double timestamps in FloodControlStrict.
|
2022-11-21 21:07:56 +03:00 |
|
levlam
|
f4c1247327
|
Minor FloodControlStrict improvements.
|
2022-11-21 20:52:12 +03:00 |
|
levlam
|
82b9d3493e
|
Adjust last_read_inbox_message_id in MessageReplyInfo by last read chat message.
|
2022-11-21 19:11:38 +03:00 |
|
levlam
|
f94e27fe12
|
Improve MessageReplyInfo field names.
|
2022-11-21 18:35:28 +03:00 |
|
levlam
|
44df11cfcf
|
Decrease maximum size of wait-free hash tables.
|
2022-11-21 18:12:26 +03:00 |
|
levlam
|
2207d668e0
|
Fix postponed drop of default message sender.
|
2022-11-21 17:56:16 +03:00 |
|
levlam
|
c7f7abb6e7
|
Drop chat message sender when chat become private.
|
2022-11-21 17:19:23 +03:00 |
|
levlam
|
3ae4a8d702
|
Improve logging.
|
2022-11-21 15:39:14 +03:00 |
|
levlam
|
0227bbc3cf
|
Treat files with upload_pause as being uploaded.
|
2022-11-21 15:28:32 +03:00 |
|
levlam
|
68627a0c3f
|
Add source to cancel_upload_file.
|
2022-11-21 14:33:19 +03:00 |
|
levlam
|
2849a0857b
|
Add warning about too long TQueue clear.
|
2022-11-21 12:20:48 +03:00 |
|
levlam
|
19e080d3d2
|
Avoid non-required file_id duping.
|
2022-11-21 12:06:05 +03:00 |
|
levlam
|
0b387a61ad
|
Add source to dup_file_id.
|
2022-11-21 11:40:43 +03:00 |
|
levlam
|
ef71f55ec1
|
Use WaitFreeHashMap for user photos.
|
2022-11-20 23:16:21 +03:00 |
|
levlam
|
3b46f78584
|
Use WaitFreeHashMap for pending_user_photos_.
|
2022-11-20 22:48:01 +03:00 |
|
levlam
|
3992c3695a
|
Add more logging for long update applying.
|
2022-11-20 22:41:50 +03:00 |
|
levlam
|
6eb7217b66
|
Avoid expected warning.
|
2022-11-20 11:29:05 +03:00 |
|
levlam
|
7724f68fa2
|
Simplify variables initialization.
|
2022-11-19 12:29:25 +03:00 |
|
levlam
|
2d2446ae77
|
Improve updating of reply info.
|
2022-11-19 11:21:41 +03:00 |
|
levlam
|
fe7ea9bac9
|
Invalidate ChannelFull instead of running getDifference if appropriate.
|
2022-11-18 18:05:04 +03:00 |
|
levlam
|
a4a7d7264e
|
Try to add user to channel after unrestricting.
|
2022-11-18 17:49:11 +03:00 |
|