MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / CheckStreamStatus

Function CheckStreamStatus

Telegram/SourceFiles/storage/localstorage.cpp:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98};
99
100bool 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) {

Callers 13

readMapWithMethod · 0.70
readSessionSettingsMethod · 0.70
readMtpDataMethod · 0.70
readMtpConfigMethod · 0.70
readStickerSetsMethod · 0.70
readSavedGifsMethod · 0.70
readSearchSuggestionsMethod · 0.70
readSelfMethod · 0.70
startModernMethod · 0.70
_readOldSettingsFunction · 0.70
_readOldMtpDataFieldsFunction · 0.70

Calls 1

statusMethod · 0.45

Tested by

no test coverage detected