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

Method privateErrorReceived

Telegram/SourceFiles/data/data_channel.cpp:1057–1069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1055}
1056
1057void ChannelData::privateErrorReceived() {
1058 if (invitePeekExpires()) {
1059 const auto hash = invitePeekHash();
1060 for (const auto &window : session().windows()) {
1061 clearInvitePeek();
1062 Api::CheckChatInvite(window, hash, this);
1063 return;
1064 }
1065 _invitePeek->expires = base::unixtime::now();
1066 } else {
1067 markForbidden();
1068 }
1069}
1070
1071void ChannelData::migrateCall(std::unique_ptr<Data::GroupCall> call) {
1072 Expects(_call == nullptr);

Callers 3

joinChannelMethod · 0.80
requestSelfMethod · 0.80
messagesFailedMethod · 0.80

Calls 2

CheckChatInviteFunction · 0.85
windowsMethod · 0.80

Tested by

no test coverage detected