Commit 7bb6d11c authored by Nicolas Jager's avatar Nicolas Jager

Dht : add errors states

Change-Id: I572e724ab64dc0a995aeaec6b040b55548fdb081
Tuleap: #790
parent cba46f79
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment