| 5211 | } |
| 5212 | |
| 5213 | Folder *Session::folderLoaded(FolderId id) const { |
| 5214 | const auto it = _folders.find(id); |
| 5215 | return (it == end(_folders)) ? nullptr : it->second.get(); |
| 5216 | } |
| 5217 | |
| 5218 | not_null<Folder*> Session::processFolder(const MTPFolder &data) { |
| 5219 | return data.match([&](const MTPDfolder &data) { |
no test coverage detected