mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
Support PeerData::isVerifyCodes() peer type.
This commit is contained in:
@@ -635,6 +635,8 @@ void ControllerObject::fillMessagesState(
|
||||
? ProcessingState::EntityType::SavedMessages
|
||||
: (dialog->type == Data::DialogInfo::Type::Replies)
|
||||
? ProcessingState::EntityType::RepliesMessages
|
||||
: (dialog->type == Data::DialogInfo::Type::VerifyCodes)
|
||||
? ProcessingState::EntityType::VerifyCodes
|
||||
: ProcessingState::EntityType::Chat;
|
||||
result.itemIndex = _messagesWritten + progress.itemIndex;
|
||||
result.itemCount = std::max(_messagesCount, result.itemIndex);
|
||||
|
||||
Reference in New Issue
Block a user