levlam
|
0455f8cfbb
|
Skip too old channel difference for bots.
|
2022-11-23 13:21:46 +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
|
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
|
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
|
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 |
|
levlam
|
f18d1455cf
|
Improve parameters name.
|
2022-11-18 17:05:52 +03:00 |
|
levlam
|
2fad9afd49
|
Hide comments button if the user is banned in the discussion group.
|
2022-11-18 16:35:16 +03:00 |
|
levlam
|
f8e2af3f59
|
Rename size() to calc_size() for WaitFree hash tables.
|
2022-11-18 13:16:24 +03:00 |
|
levlam
|
5081ef4c2a
|
Use WaitFreeHashMap to store nodes in FileReferenceManager.
|
2022-11-17 19:13:36 +03:00 |
|
levlam
|
f085e7eea3
|
Use request promise in setBackground.
|
2022-11-17 18:48:48 +03:00 |
|
levlam
|
63b528f213
|
Speculatively add channel users added through addChatMembers.
|
2022-11-17 18:10:26 +03:00 |
|
levlam
|
830806937e
|
Improve source type in on_get_channel_error/on_get_dialog_error.
|
2022-11-17 14:18:11 +03:00 |
|
levlam
|
9f39aeecdf
|
Add source to invalidate_channel_full.
|
2022-11-17 14:01:08 +03:00 |
|
levlam
|
3143d0ead7
|
Add search text for topic service messages.
|
2022-11-17 13:22:24 +03:00 |
|
levlam
|
66032b4ccf
|
Use get_next_message_id.
|
2022-11-16 23:55:45 +03:00 |
|
levlam
|
2e6ac1f22c
|
Simplify authorization state timeout handling.
|
2022-11-15 11:36:39 +03:00 |
|
levlam
|
b2b59b02be
|
Add draft of history generation for better gap handling.
|
2022-11-14 20:12:23 +03:00 |
|
levlam
|
3373ac8aa8
|
Don't replace cached file_id of being uploaded files.
|
2022-11-14 18:30:10 +03:00 |
|
levlam
|
0461aff289
|
Hide replies to root message in topic messages.
|
2022-11-14 14:23:39 +03:00 |
|
levlam
|
ecceb1c472
|
Fix file registration.
|
2022-11-13 11:56:52 +03:00 |
|
levlam
|
73049c6c89
|
Improve logging.
|
2022-11-13 11:11:18 +03:00 |
|
levlam
|
f6f94e5255
|
Improve getRepliedMessage.
|
2022-11-13 03:13:11 +03:00 |
|
levlam
|
1d672470ea
|
Don't register VoiceNote and VideoNote messages for bots.
|
2022-11-12 10:51:57 +03:00 |
|
levlam
|
f43956f25d
|
Disable message thread database for now.
|
2022-11-12 09:59:56 +03:00 |
|
levlam
|
348ee9a95b
|
Remove unused return value in FileManager::merge.
|
2022-11-12 09:54:23 +03:00 |
|
levlam
|
b29fc78f85
|
Merge downloaded and generated files as early as possible to avoid pinning and keeping of a temporary file_id for local location.
|
2022-11-12 09:47:33 +03:00 |
|
levlam
|
f5872ee11a
|
Avoid deletion of message files for bots.
|
2022-11-11 23:13:44 +03:00 |
|
levlam
|
e35a81dbe9
|
Pin only main file_id.
|
2022-11-11 21:09:57 +03:00 |
|
levlam
|
8b64142af4
|
Reduce boundary for file identifier number warnings.
|
2022-11-11 16:54:13 +03:00 |
|
levlam
|
ba5b950055
|
Don't clear draft when inline message is sent not from input field.
|
2022-11-11 16:11:55 +03:00 |
|
levlam
|
f670d646c9
|
Unload at most 5000 messages at a time.
|
2022-11-11 16:06:05 +03:00 |
|
levlam
|
28d1dd02e9
|
Make SslCtx public.
|
2022-11-11 14:23:43 +03:00 |
|
levlam
|
ce3a86e721
|
Fix dropping of MessageReplyInfo.
|
2022-11-10 20:46:20 +03:00 |
|
levlam
|
73adf2827f
|
Add MessageThreadDatabase.
|
2022-11-10 19:46:17 +03:00 |
|
levlam
|
f78bf4005e
|
Flush DialogDb on closing.
|
2022-11-10 19:20:17 +03:00 |
|
levlam
|
8e32de133a
|
Rename MessagesDb to MessageDb.
|
2022-11-09 20:35:22 +03:00 |
|
levlam
|
3592494daf
|
Don't send updates about unloading from cache of unknown to app messages.
|
2022-11-08 14:00:11 +03:00 |
|
levlam
|
ef5107fcc4
|
Remove unused from_cache parameter in send_update_delete_messages.
|
2022-11-08 13:43:46 +03:00 |
|
levlam
|
7eba19887a
|
Remove ignored Status responses from DialogDb.
|
2022-11-07 23:19:32 +03:00 |
|
levlam
|
36686c29a6
|
Remove unused Status responses in MessagesDb.
|
2022-11-07 22:19:44 +03:00 |
|
levlam
|
39cee43b9f
|
Fix last_added_message_id.
|
2022-11-07 20:08:25 +03:00 |
|
levlam
|
16d454793c
|
Allow change of replied message to top thread message.
|
2022-11-07 18:19:57 +03:00 |
|
levlam
|
cc9de08be3
|
Improve source for error suppression.
|
2022-11-07 15:52:01 +03:00 |
|
levlam
|
3a9ea05a50
|
Don't try to fail message edits while closing.
|
2022-11-07 13:54:42 +03:00 |
|
levlam
|
36d05295d6
|
Fix warning.
|
2022-11-07 13:54:27 +03:00 |
|
levlam
|
bbe37ee594
|
Update version to 1.8.8.
|
2022-11-05 02:50:48 +03:00 |
|
levlam
|
e4fe474d58
|
Add "forum_member_count_min" option.
|
2022-11-05 02:43:23 +03:00 |
|
levlam
|
bf6a2723ef
|
Various user photo improvements.
|
2022-11-05 02:07:20 +03:00 |
|
levlam
|
76c13a21bc
|
Don't drop photo cache if only minithumbnail was changed.
|
2022-11-05 01:25:19 +03:00 |
|
levlam
|
ce2791fae3
|
Ensure that full photo and is null if unknown.
|
2022-11-05 01:19:56 +03:00 |
|
levlam
|
bbc3f5dace
|
Immediately drop UserFull photo after changing user photo.
|
2022-11-05 00:00:23 +03:00 |
|
levlam
|
585b1f1923
|
Log to ERROR inconsistent chatPhoto and chatPhotoInfo.
|
2022-11-04 20:33:54 +03:00 |
|
levlam
|
32795d50a1
|
Delete photo from *FullInfo before sending update*.
|
2022-11-04 20:31:53 +03:00 |
|
levlam
|
6ec127587e
|
Improve FullInfo.photo documentation.
|
2022-11-04 19:29:04 +03:00 |
|
levlam
|
e14d72306f
|
Improve actor of TopicCreated chat log event.
|
2022-11-04 17:52:26 +03:00 |
|
levlam
|
7df7dfcd62
|
Output main chat list position along with all folder identifiers.
|
2022-11-04 17:40:44 +03:00 |
|
levlam
|
ce09421718
|
Update main chat list position after adding or deleting chat lists.
|
2022-11-04 17:26:41 +03:00 |
|
levlam
|
477fe509b5
|
Fix adding of a chat list to beginning.
|
2022-11-04 17:23:43 +03:00 |
|
levlam
|
ff0c205fe9
|
Generate new links for topic messages.
|
2022-11-04 15:56:16 +03:00 |
|
levlam
|
54799d0024
|
Support forum message links in getInternalLinkType.
|
2022-11-04 14:56:25 +03:00 |
|
levlam
|
939d43129c
|
Support message links for forum topics.
|
2022-11-04 14:40:57 +03:00 |
|
levlam
|
8f9275858f
|
Fix warning.
|
2022-11-04 13:20:22 +03:00 |
|
levlam
|
cb003d7f66
|
Fix compilation error.
|
2022-11-04 11:34:11 +03:00 |
|
levlam
|
f702cad110
|
Wait for emoji reactions to be loaded once in getEmojiReaction.
|
2022-11-04 00:59:45 +03:00 |
|
levlam
|
82ab2da9c0
|
Pass promise to StickersManager::get_emoji_reaction.
|
2022-11-03 21:07:07 +03:00 |
|
levlam
|
2e3cc8619e
|
Avoid call to is_deleted_message in delete_dialog_messages if it isn't needed.
|
2022-11-03 20:25:40 +03:00 |
|
levlam
|
136dfd15df
|
Use delete_dialog_messages if appropriate.
|
2022-11-03 19:56:53 +03:00 |
|
levlam
|
f8783063f3
|
Improve parameter name.
|
2022-11-03 19:37:07 +03:00 |
|
levlam
|
e8d1c7deae
|
Remove from_updates parameter from delete_dialog_messages.
|
2022-11-03 19:26:22 +03:00 |
|
levlam
|
df45195cc6
|
Split delete_dialog_messages in two functions.
|
2022-11-03 19:14:35 +03:00 |
|
levlam
|
695fab3323
|
Refactor delete_newer_server_messages_at_the_end.
|
2022-11-03 18:35:40 +03:00 |
|
levlam
|
17bc097d12
|
Destroy deleted messages on another thread.
|
2022-11-03 18:10:51 +03:00 |
|
levlam
|
d8c36c8062
|
Improve handling of too long messages and captions.
|
2022-11-03 16:46:50 +03:00 |
|
levlam
|
579d1dee8d
|
Improve logging.
|
2022-11-03 11:17:43 +03:00 |
|
levlam
|
c6d1940537
|
Support "restriction_add_platforms" app config parameter.
|
2022-11-02 20:38:52 +03:00 |
|
levlam
|
d1afd1c3b7
|
Minor improvements.
|
2022-11-02 19:51:41 +03:00 |
|
levlam
|
5aaa20b4d9
|
Rename forum topic title to topic name.
|
2022-11-02 17:31:25 +03:00 |
|
levlam
|
4cc5ed345d
|
Improve MessateReplyHeader processing.
|
2022-11-02 14:04:43 +03:00 |
|
levlam
|
481387b12d
|
Unpin locally only messages from forum topics.
|
2022-11-02 08:58:13 +03:00 |
|
levlam
|
1c89f505c9
|
Fix solid backgrounds.
|
2022-11-02 07:21:20 +03:00 |
|
levlam
|
69f03d8376
|
Improve message reply header handling.
|
2022-11-02 06:28:35 +03:00 |
|
levlam
|
cfad15eb17
|
Allow bots to get default topic icons.
|
2022-11-01 18:38:07 +03:00 |
|