mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
* #21631: manager: NULL check account before using it
This commit is contained in:
@ -87,6 +87,8 @@ void
|
||||
ManagerImpl::sendRegister(const std::string& accountID, bool enable)
|
||||
{
|
||||
Account* acc = getAccount(accountID);
|
||||
if (!acc)
|
||||
return;
|
||||
|
||||
acc->setEnabled(enable);
|
||||
acc->loadConfig();
|
||||
|
Reference in New Issue
Block a user