mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
[AFV] Signal/handling for authentication failures
* authentication issues in AFV were silently handled * and there was no re-try, which could mean an initial glitch COULD cause AFV not working properly * NOW handling in AFV client and context * also reset connection data so for a new session no old authentication token or check time is used * check for "invalid" QDateTime(s)
This commit is contained in:
committed by
Mat Sutcliffe
parent
9e6716e515
commit
bba07ef4c4
@@ -161,11 +161,11 @@ namespace BlackGui
|
||||
afv->setRxTx(true, true, true, false);
|
||||
|
||||
QPointer<CAudioDeviceVolumeSetupComponent> myself(this);
|
||||
c = connect(afv, &CAfvClient::connectionStatusChanged, this, [ = ]
|
||||
c = connect(afv, &CAfvClient::connectionStatusChanged, this, [ = ](CAfvClient::ConnectionStatus status)
|
||||
{
|
||||
if (!myself || !sGui || sGui->isShuttingDown()) { return; }
|
||||
myself->setTransmitReceiveInUiFromVoiceClient();
|
||||
|
||||
Q_UNUSED(status)
|
||||
}, ct);
|
||||
Q_ASSERT(c);
|
||||
m_afvConnections.append(c);
|
||||
|
||||
Reference in New Issue
Block a user