Do not create an unmanaged copy of the already unmanaged account.

Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Ivan Sein 2020-02-28 19:33:13 +01:00
Родитель b35bed67bc
Коммит 78b92a8443
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -76,7 +76,7 @@ static NSString * const kNCVideoTrackKind = @"video";
_signalingController = [[NCSignalingController alloc] initForRoom:room];
_signalingController.observer = self;
_account = [[TalkAccount alloc] initWithValue:[[NCDatabaseManager sharedInstance] activeAccount]];
_account = [[NCDatabaseManager sharedInstance] activeAccount];
_externalSignalingController = [[NCSettingsController sharedInstance] externalSignalingControllerForAccountId:_account.accountId];
_externalSignalingController.delegate = self;