Commit Graph

264 Commits

Author SHA1 Message Date
levlam
8c69dbcaee Fix "added_shareable_chat_folder_count_max" option. 2023-07-21 17:08:39 +03:00
levlam
be9d779f5c Fix "story_caption_length_max" option. 2023-07-21 16:33:39 +03:00
levlam
723d09ddee Reduce refresh margin for persistent temp auth keys to speed up recover when the old key reregisters after auth.dropTempAuthKeys. 2023-07-17 19:21:18 +03:00
levlam
6685bcfd7a Remove "archive_and_mute_new_chats_from_unknown_users" option. 2023-07-14 15:41:38 +03:00
levlam
3937eb7bdf Add "story_viewers_expiration_delay" option. 2023-07-08 08:42:59 +03:00
levlam
063f1e8ff6 Improve config reloading on restart. 2023-07-03 11:26:32 +03:00
levlam
eb78cf1883 Add "story_caption_length_max" option. 2023-06-29 15:20:30 +03:00
levlam
09a30a4b3c Support stories_changelog_user_id option. 2023-06-27 17:26:17 +03:00
levlam
ca8b80d198 Add Story.can_get_viewers. 2023-06-19 19:13:08 +03:00
levlam
25bfb761d4 Allow to change "archive_all_stories" option. 2023-06-16 17:55:54 +03:00
levlam
4c1ee918b3 Add "archive_all_stories" option. 2023-06-16 14:58:06 +03:00
levlam
030e440757 Update layer to 160. 2023-05-01 21:07:01 +03:00
levlam
c9f83caf9f Reset server time difference after a "MessageId is too high" error. 2023-05-14 21:58:54 +03:00
levlam
c41fb7f6df Drop reopen_sessions_after_get_config_ after successful session reopen. 2023-05-09 01:08:45 +03:00
levlam
a2439e9f55 Sort directly received IP addresses. 2023-05-07 01:43:00 +03:00
levlam
14c570f334 Move AuthKeyState to a separate header. 2023-05-04 14:53:07 +03:00
levlam
4c27e92006 Add "chat_folder_invite_link_count_max" and "added_shareable_chat_folder_count_max" options. 2023-04-10 12:46:16 +03:00
levlam
a6b0835b84 Add "chat_folder_new_chats_update_period" option. 2023-04-06 14:58:46 +03:00
levlam
241021ae83 Rename chat filters to chat folders. 2023-04-03 17:28:51 +03:00
levlam
7d9a443650 Fix compilation error. 2023-03-09 23:12:32 +03:00
levlam
97968f8956 Add "gift_premium_from_attachment_menu" and "gift_premium_from_input_field" options. 2023-03-08 21:13:29 +03:00
levlam
947a3031f3 Fix AppConfig parsing. 2023-02-21 13:34:36 +03:00
levlam
c8c8b63e2b Add AppConfig cache. 2023-02-15 23:33:30 +03:00
levlam
f6615189af Update layer to 154. 2023-02-07 14:01:45 +03:00
levlam
22fdc0258b Use "receive"/"have"/"loaded" instead of "got" and other log message improvements. 2023-02-26 14:22:31 +03:00
levlam
6c38e3c018 Use G()->close_status() instead of manual error. 2023-02-17 16:14:31 +03:00
levlam
0adcac246a Use explicit as_mutable_slice to get MutableSlice. 2023-02-02 17:40:47 +03:00
levlam
68d7353350 Add listener nullability checks. 2023-01-30 18:21:57 +03:00
levlam
2325c5041b Collect statistics about received updates. 2023-01-25 17:48:04 +03:00
levlam
2d7608459e Support standalone SetPassword suggested action. 2023-01-17 13:22:21 +03:00
levlam
fb935a8de2 Reduce ping timeout in primary non-main-DC connections. 2023-01-15 00:25:22 +03:00
levlam
eac1f0a096 Improve config recovery source order. 2023-01-10 20:03:05 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
5ee9c7365b Remove "forum_member_count_min" option. 2022-12-31 00:17:18 +03:00
levlam
b203030e5c Add "pinned_forum_topic_count_max" option. 2022-12-29 22:26:09 +03:00
levlam
6516210321 Remove "themed_emoji_statuses_sticker_set_id" option. 2022-12-21 12:26:29 +03:00
levlam
983cb965cf Add supergroupFullInfo.can_hide_members. 2022-12-20 11:04:00 +03:00
levlam
d2060a2eb3 Improve log messages with time. 2022-12-11 01:32:46 +03:00
levlam
bc332ffa37 Make option "anti_spam_bot_user_id" public and allow to load the user without network request. 2022-11-30 13:36:44 +03:00
levlam
1ba66081a5 Ignore useless "reactions_in_chat_max" option. 2022-11-30 12:56:54 +03:00
levlam
7e88119c1f Process fragment_prefixes option. 2022-11-29 23:42:29 +03:00
levlam
f7897dc2ba Add "aggressive_anti_spam_supergroup_member_count_min" option. 2022-11-25 17:16:37 +03:00
levlam
e6941d231d Add chatEventMessageDeleted.can_report_anti_spam_false_positive. 2022-11-25 16:50:16 +03:00
levlam
468edb4d61 Use double timestamps in FloodControlStrict. 2022-11-21 21:07:56 +03:00
levlam
28d1dd02e9 Make SslCtx public. 2022-11-11 14:23:43 +03:00
levlam
e4fe474d58 Add "forum_member_count_min" option. 2022-11-05 02:43:23 +03:00
levlam
c6d1940537 Support "restriction_add_platforms" app config parameter. 2022-11-02 20:38:52 +03:00
levlam
ac144ce2e4 Support whitelisted domains. 2022-10-27 00:57:28 +03:00
levlam
79fcd07956 Add internal options "reactions_user_max_*". 2022-09-09 18:24:42 +03:00
levlam
14a9fda4ef Rename premiumStatus to emojiStatus. 2022-09-07 10:25:21 +03:00