| 834 | } |
| 835 | |
| 836 | void PeerData::checkFolder(FolderId folderId) { |
| 837 | const auto folder = folderId |
| 838 | ? owner().folderLoaded(folderId) |
| 839 | : nullptr; |
| 840 | if (const auto history = owner().historyLoaded(this)) { |
| 841 | if (folder && history->folder() != folder) { |
| 842 | owner().histories().requestDialogEntry(history); |
| 843 | } |
| 844 | } |
| 845 | } |
| 846 | |
| 847 | void PeerData::clearBusinessBot() { |
| 848 | if (const auto details = _barDetails.get()) { |
no test coverage detected