| 805 | } |
| 806 | |
| 807 | void ApiWrap::otherDataDone(const QString &relativePath) { |
| 808 | Expects(_otherDataProcess != nullptr); |
| 809 | |
| 810 | const auto process = base::take(_otherDataProcess); |
| 811 | process->file.relativePath = relativePath; |
| 812 | if (relativePath.isEmpty()) { |
| 813 | process->file.skipReason = Data::File::SkipReason::Unavailable; |
| 814 | } |
| 815 | process->done(std::move(process->file)); |
| 816 | } |
| 817 | |
| 818 | void ApiWrap::requestUserpics( |
| 819 | FnMut<bool(Data::UserpicsInfo&&)> start, |