Replace core.removeAccount by core.removeAccountWithData()
This commit is contained in:
parent
a9a1249ecd
commit
e23a49fbd3
2 changed files with 3 additions and 3 deletions
|
|
@ -148,7 +148,7 @@ void AccountModel::removeAccount() {
|
||||||
? Utils::coreStringToAppString(params->getIdentityAddress()->asString())
|
? Utils::coreStringToAppString(params->getIdentityAddress()->asString())
|
||||||
: "Null");
|
: "Null");
|
||||||
mToRemove = true;
|
mToRemove = true;
|
||||||
if (mMonitor) core->removeAccount(mMonitor);
|
if (mMonitor) core->removeAccountWithData(mMonitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::shared_ptr<linphone::Account> AccountModel::getAccount() const {
|
std::shared_ptr<linphone::Account> AccountModel::getAccount() const {
|
||||||
|
|
@ -605,4 +605,4 @@ bool AccountModel::forwardToVoiceMailInDndPresence() {
|
||||||
|
|
||||||
std::list<std::shared_ptr<linphone::ChatRoom>> AccountModel::getChatRooms() {
|
std::list<std::shared_ptr<linphone::ChatRoom>> AccountModel::getChatRooms() {
|
||||||
return mMonitor->getChatRooms();
|
return mMonitor->getChatRooms();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
external/linphone-sdk
vendored
2
external/linphone-sdk
vendored
|
|
@ -1 +1 @@
|
||||||
Subproject commit 3ac59232c3f6c0553226708ef7ce81f716fbb10e
|
Subproject commit d8fdef7a1ea2599bb0b437bc93da58f790587b95
|
||||||
Loading…
Reference in a new issue