| 2273 | } |
| 2274 | |
| 2275 | void ApiWrap::loadMessageEmojiDone(uint64 id, const QString &relativePath) { |
| 2276 | const auto i = _resolvedCustomEmoji.find(id); |
| 2277 | if (i != end(_resolvedCustomEmoji)) { |
| 2278 | i->second.file.relativePath = relativePath; |
| 2279 | if (relativePath.isEmpty()) { |
| 2280 | i->second.file.skipReason = Data::File::SkipReason::Unavailable; |
| 2281 | } |
| 2282 | } |
| 2283 | loadNextMessageFile(); |
| 2284 | } |
| 2285 | |
| 2286 | bool ApiWrap::loadTopicEmojiProgress(FileProgress progress) { |
| 2287 | Expects(_fileProcess != nullptr); |