mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Show "Saved messages" chat name in export UI.
This commit is contained in:
@@ -655,6 +655,9 @@ void Controller::fillMessagesState(
|
||||
result.entityIndex = index + addIndex;
|
||||
result.entityCount = info.list.size() + addCount;
|
||||
result.entityName = dialog.name;
|
||||
result.entityType = (dialog.type == Data::DialogInfo::Type::Self)
|
||||
? ProcessingState::EntityType::SavedMessages
|
||||
: ProcessingState::EntityType::Chat;
|
||||
result.itemIndex = _messagesWritten + progress.itemIndex;
|
||||
result.itemCount = std::max(_messagesCount, result.itemIndex);
|
||||
result.bytesType = ProcessingState::FileType::File; // TODO
|
||||
|
||||
Reference in New Issue
Block a user