| 98 | }; |
| 99 | |
| 100 | bool CheckStreamStatus(QDataStream &stream) { |
| 101 | if (stream.status() != QDataStream::Ok) { |
| 102 | LOG(("Bad data stream status: %1").arg(stream.status())); |
| 103 | return false; |
| 104 | } |
| 105 | return true; |
| 106 | } |
| 107 | |
| 108 | [[nodiscard]] const MTP::Config &LookupFallbackConfig() { |
| 109 | static const auto lookupConfig = [](not_null<Main::Account*> account) { |
no test coverage detected