File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2958,7 +2958,7 @@ savedMessagesTopic id:int53 type:SavedMessagesTopicType is_pinned:Bool order:int
29582958//@id Unique topic identifier
29592959//@sender_id Identifier of the user or chat that sends the messages to the topic
29602960//@order A parameter used to determine order of the topic in the topic list. Topics must be sorted by the order in descending order
2961- //@can_send_unpaid_messages True if the other party can send unpaid messages even if the chat has paid messages enabled
2961+ //@can_send_unpaid_messages True, if the other party can send unpaid messages even if the chat has paid messages enabled
29622962//@is_marked_as_unread True, if the forum topic is marked as unread
29632963//@unread_count Number of unread messages in the chat
29642964//@last_read_inbox_message_id Identifier of the last read incoming message
Original file line number Diff line number Diff line change @@ -5749,7 +5749,7 @@ void ChatManager::on_get_chat_full(tl_object_ptr<telegram_api::ChatFull> &&chat_
57495749 auto gift_count = channel->stargifts_count_ ;
57505750 auto has_stargifts_available = channel->stargifts_available_ ;
57515751 auto has_paid_messages_available = channel->paid_messages_available_ ;
5752- auto send_paid_message_stars = channel->send_paid_messages_stars_ ;
5752+ auto send_paid_message_stars = StarManager::get_star_count ( channel->send_paid_messages_stars_ ) ;
57535753 StickerSetId sticker_set_id;
57545754 if (channel->stickerset_ != nullptr ) {
57555755 sticker_set_id =
Original file line number Diff line number Diff line change @@ -1504,8 +1504,8 @@ SavedMessagesManager::SavedMessagesTopicInfo SavedMessagesManager::get_saved_mes
15041504}
15051505
15061506void SavedMessagesManager::on_get_saved_dialogs (TopicList *topic_list, Result<Unit> &&result) {
1507- CHECK (topic_list != nullptr );
15081507 G ()->ignore_result_if_closing (result);
1508+ CHECK (topic_list != nullptr );
15091509 if (result.is_error ()) {
15101510 fail_promises (topic_list->load_queries_ , result.move_as_error ());
15111511 } else {
Original file line number Diff line number Diff line change 88
99#include " td/telegram/Dependencies.h"
1010
11- #include " td/utils/utf8.h"
12-
1311namespace td {
1412
1513ToDoCompletion::ToDoCompletion (telegram_api::object_ptr<telegram_api::todoCompletion> &&completion) {
Original file line number Diff line number Diff line change 1212#include " td/telegram/Td.h"
1313#include " td/telegram/UserManager.h"
1414
15+ #include " td/utils/logging.h"
1516#include " td/utils/SliceBuilder.h"
1617#include " td/utils/utf8.h"
1718
Original file line number Diff line number Diff line change 1313#include " td/telegram/Td.h"
1414
1515#include " td/utils/algorithm.h"
16+ #include " td/utils/logging.h"
17+ #include " td/utils/SliceBuilder.h"
1618#include " td/utils/utf8.h"
1719
1820namespace td {
Original file line number Diff line number Diff line change 66//
77#pragma once
88
9+ #include " td/telegram/DialogId.h"
910#include " td/telegram/MessageEntity.h"
1011#include " td/telegram/MessageId.h"
1112#include " td/telegram/td_api.h"
1213#include " td/telegram/telegram_api.h"
1314#include " td/telegram/ToDoCompletion.h"
1415#include " td/telegram/ToDoItem.h"
1516
17+ #include " td/utils/common.h"
18+ #include " td/utils/Status.h"
19+
1620namespace td {
1721
1822class Dependencies ;
Original file line number Diff line number Diff line change @@ -4476,9 +4476,9 @@ void UpdatesManager::on_update(tl_object_ptr<telegram_api::updateGroupCallChainB
44764476
44774477void UpdatesManager::on_update (tl_object_ptr<telegram_api::updateGroupCall> update, Promise<Unit> &&promise) {
44784478 DialogId dialog_id (ChatId (update->chat_id_ ));
4479- if (dialog_id != DialogId () && !td_->dialog_manager_ ->have_dialog_force (dialog_id, " updateGroupCall" )) {
4479+ if (dialog_id != DialogId () && !td_->dialog_manager_ ->have_dialog_force (dialog_id, " updateGroupCall chat " )) {
44804480 dialog_id = DialogId (ChannelId (update->chat_id_ ));
4481- if (!td_->dialog_manager_ ->have_dialog_force (dialog_id, " updateGroupCall" )) {
4481+ if (!td_->dialog_manager_ ->have_dialog_force (dialog_id, " updateGroupCall channel " )) {
44824482 dialog_id = DialogId ();
44834483 }
44844484 }
Original file line number Diff line number Diff line change 1111#include " td/db/DbKey.h"
1212#include " td/db/KeyValueSyncInterface.h"
1313
14- #include " td/utils/algorithm.h"
1514#include " td/utils/buffer.h"
1615#include " td/utils/common.h"
1716#include " td/utils/FlatHashMap.h"
You can’t perform that action at this time.
0 commit comments