mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-17 20:08:28 +00:00
fix crash when no conference organizer
This commit is contained in:
parent
f91b047e8e
commit
adb6c34124
1 changed files with 3 additions and 1 deletions
|
|
@ -78,7 +78,9 @@ ConferenceInfoCore::ConferenceInfoCore(std::shared_ptr<linphone::ConferenceInfo>
|
|||
mDuration = conferenceInfo->getDuration();
|
||||
mEndDateTime = mDateTime.addSecs(mDuration * 60);
|
||||
mIsScheduled = mDateTime.isValid();
|
||||
mOrganizerAddress = Utils::coreStringToAppString(conferenceInfo->getOrganizer()->asStringUriOnly());
|
||||
mOrganizerAddress = conferenceInfo->getOrganizer()
|
||||
? Utils::coreStringToAppString(conferenceInfo->getOrganizer()->asStringUriOnly())
|
||||
: QString();
|
||||
mOrganizerName = mConferenceInfoModel->getOrganizerName();
|
||||
mSubject = Utils::coreStringToAppString(conferenceInfo->getSubject());
|
||||
mDescription = Utils::coreStringToAppString(conferenceInfo->getDescription());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue