mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Fix crash on forward
This commit is contained in:
parent
dcec744edb
commit
362605d5da
1 changed files with 2 additions and 1 deletions
|
|
@ -786,7 +786,8 @@ void CallCore::findRemoteFriend(QSharedPointer<CallCore> me) {
|
|||
if (remoteFriend) name = Utils::coreStringToAppString(remoteFriend->getName());
|
||||
else if (results.size() > 0) // Then result address.
|
||||
name = Utils::coreStringToAppString(results.front()->getAddress()->getDisplayName());
|
||||
if (name.isEmpty()) name = Utils::coreStringToAppString(results.front()->getAddress()->getUsername());
|
||||
if (name.isEmpty() && results.size() > 0)
|
||||
name = Utils::coreStringToAppString(results.front()->getAddress()->getUsername());
|
||||
if (!name.isEmpty())
|
||||
mRemoteMagicSearchModelConnection->invokeToCore([this, name]() {
|
||||
mustBeInMainThread(log().arg(Q_FUNC_INFO));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue