Lines Matching defs:redirect
1314 // If the error is a session redirect, call OnRedirectError, which will
1316 SessionRedirect redirect;
1317 if (FindSessionRedirect(error_stanza, &redirect)) {
1319 if (!OnRedirectError(redirect, &error)) {
1323 desc << "Failed to redirect: " << error.text;
1527 bool Session::OnRedirectError(const SessionRedirect& redirect,
1534 if (!BareJidsEqual(remote_name(), redirect.target))
1538 // When we receive a redirect, we point the session at the new JID
1540 set_remote_name(redirect.target);