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

Function Error

Telegram/SourceFiles/core/external_control.cpp:129–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129[[nodiscard]] QByteArray Error(const QString &text) {
130 auto object = QJsonObject();
131 object.insert(u"ok"_q, false);
132 object.insert(u"error"_q, text);
133 return Pack(object);
134}
135
136[[nodiscard]] std::vector<WindowEntry> CollectWindows() {
137 auto result = std::vector<WindowEntry>();

Callers 3

HandleActivateFunction · 0.70
HandleCycleFunction · 0.70
HandleExternalControlFunction · 0.70

Calls 3

PackFunction · 0.70
QJsonObjectClass · 0.50
insertMethod · 0.45

Tested by

no test coverage detected