Skip to content
Snippets Groups Projects
Commit 7bb6d11c authored by Nicolas Jager's avatar Nicolas Jager
Browse files

Dht : add errors states

Change-Id: I572e724ab64dc0a995aeaec6b040b55548fdb081
Tuleap: #790
parent cba46f79
No related branches found
No related tags found
No related merge requests found
......@@ -526,7 +526,16 @@ RingD::registerCallbacks()
}*/
}));
}
else if (state == DRing::Account::States::ERROR_GENERIC) {
else if (state == DRing::Account::States::ERROR_GENERIC
|| state == DRing::Account::States::ERROR_AUTH
|| state == DRing::Account::States::ERROR_NETWORK
|| state == DRing::Account::States::ERROR_HOST
|| state == DRing::Account::States::ERROR_CONF_STUN
|| state == DRing::Account::States::ERROR_EXIST_STUN
|| state == DRing::Account::States::ERROR_SERVICE_UNAVAILABLE
|| state == DRing::Account::States::ERROR_NOT_ACCEPTABLE
|| state == DRing::Account::States::ERROR_NEED_MIGRATION
|| state == DRing::Account::States::REQUEST_TIMEOUT) {
CoreApplication::MainView->CoreWindow->Dispatcher->RunAsync(CoreDispatcherPriority::High,
ref new DispatchedHandler([=]() {
reloadAccountList();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment