Commit Graph

2588 Commits

Author SHA1 Message Date
levlam
3b6874818a Always wait for mailbox. 2023-01-11 01:08:22 +03:00
levlam
ac0de06b5f Ensure that PTS/QTS updates are null after processing. 2023-01-09 13:27:28 +03:00
levlam
4a5b2ac722 Skip returned by server messages, not matching the filter. 2023-01-04 13:18:38 +03:00
levlam
887ddbd88e Improve warnings about changed MessageForwardInfo. 2023-01-04 10:49:53 +03:00
levlam
29c264df59 Log number of unprocessed updateMessageID while closing. 2023-01-02 19:07:48 +03:00
levlam
686fcc1933 Log source for failed to add awaited messages. 2023-01-02 18:05:35 +03:00
levlam
12561229fe Improve logging in on_get_channel_difference. 2023-01-02 17:36:38 +03:00
levlam
0f05e72fa3 Silently ignore PERSISTENT_TIMESTAMP_INVALID errors for channels.getDifference. 2023-01-02 17:06:26 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
24a67cb67c Send typings to General topic by default in forums. 2022-12-30 04:00:52 +03:00
levlam
e4c8eb376e Fix spoiler in on_upload_message_media_success. 2022-12-30 02:39:31 +03:00
levlam
86f0de23f5 Improve message-TTL-related log messages. 2022-12-28 21:59:41 +03:00
levlam
90b6403e86 Improve message_auto_delete_time field and class names. 2022-12-28 21:46:16 +03:00
levlam
a77c7d566c Avoid duplicate 't' and 'i' photo sizes. 2022-12-28 20:39:24 +03:00
levlam
6aa4558850 Improve return value of searchCallMessages. 2022-12-28 19:17:25 +03:00
levlam
9663dc98b5 Improve return type of searchChatMessages. 2022-12-28 18:42:11 +03:00
levlam
1ff40ce132 Rename message TTL to auto-delete timer when appropriate. 2022-12-28 17:02:41 +03:00
levlam
5c89fe749a Separately create admin log message ogjects. 2022-12-26 20:30:44 +03:00
levlam
dcd1e60910 Add separate message.auto_delete_in. 2022-12-26 17:31:04 +03:00
levlam
a4fc556e5e Minor improvements. 2022-12-26 14:58:31 +03:00
levlam
fa06258486 Returm server messages for General topic in getMessageThreadHistory. 2022-12-25 23:10:28 +03:00
levlam
f694687e47 Improve next_offset in getMessagePublicForwards. 2022-12-25 22:59:57 +03:00
levlam
fc2ab0a7ab Use next_rate in searchMessages. 2022-12-25 22:43:37 +03:00
levlam
3080f64273 Simplify searchMessages usage. 2022-12-25 22:28:05 +03:00
levlam
f6de50e19f Fix some spelling. 2022-12-22 17:04:18 +03:00
levlam
d810a73a4f Hide can_get_message_thread for non-root messages. 2022-12-21 19:10:36 +03:00
levlam
8bfc68b3f8 Improve ContactsManager::get_channel_effective_has_hidden_participants. 2022-12-20 15:12:36 +03:00
levlam
f4f156a5b1 Hide viewers in chats with hidden participants. 2022-12-19 21:34:38 +03:00
levlam
89c407c129 Use server-side online count for supergroups with hidden members. 2022-12-19 21:25:53 +03:00
levlam
02db4f2fac Support sending of photos and videos with spoiler animation. 2022-12-15 22:41:55 +03:00
levlam
cc52263026 Add td_api::messageBotWriteAccessAllowed 2022-12-14 21:13:48 +03:00
levlam
ebeb524f70 Add messageSuggestProfilePhoto. 2022-12-09 14:13:37 +03:00
levlam
86d5f12e6e Don't try to load the same chat many times from the database. 2022-12-23 14:28:03 +03:00
levlam
1e65d38483 Ignore ReadMessageContents updates for bots. 2022-12-22 17:19:33 +03:00
levlam
f1eedfaa47 Simplify some usages of optional TL fields. 2022-12-18 22:15:57 +03:00
levlam
f97c103e2b Update last read inbox/outbox message identifiers in topics. 2022-12-14 14:25:04 +03:00
levlam
848de33676 Replace top_thread_message_id in unsupported messages. 2022-12-14 13:28:16 +03:00
levlam
0e33195953 Move static get_message_id/get_message_dialog_id to corresponding classes. 2022-12-12 21:43:49 +03:00
levlam
b634948c15 Move static MessageId helpers to MessageId class. 2022-12-10 22:57:41 +03:00
levlam
6cbe1825ef Delete left dialogs from filters. 2022-12-08 13:14:50 +03:00
levlam
a32bb3e7ef Move get_messages_info to MessagesInfo.cpp. 2022-12-07 19:38:42 +03:00
levlam
75453b542f Add separate header for MessagesInfo. 2022-12-07 19:28:27 +03:00
levlam
2e139cc895 Fix processing of links to messages in General topic. 2022-12-07 18:18:39 +03:00
levlam
67a67276a3 Support creation of message links for messages in General topic. 2022-12-07 17:54:03 +03:00
levlam
1db1532591 Add is_forum_channel. 2022-12-07 17:21:36 +03:00
levlam
294c99248e Fix add_local_message. 2022-12-06 19:32:02 +03:00
levlam
bc2e23a27f Add need_update_dialog_notification_settings. 2022-12-06 16:34:17 +03:00
levlam
58d84a1c7e Improve get_dialog_notification_settings(td_api::object_ptr<td_api::chatNotificationSettings> &&notification_settings). 2022-12-06 16:18:11 +03:00
levlam
3c842f1ecb Improve get_dialog_notification_settings(tl_object_ptr<telegram_api::peerNotifySettings>). 2022-12-06 15:23:11 +03:00
levlam
d9e16106af Add setForumTopicNotificationSettings. 2022-12-06 14:53:54 +03:00