Default voicemail count to 1 (for situations where MWI server does not send count)
This commit is contained in:
parent
7c639b734e
commit
9a4653580c
1 changed files with 1 additions and 1 deletions
|
|
@ -310,7 +310,7 @@ QString AccountModel::dialPlanAsString(const std::shared_ptr<linphone::DialPlan>
|
|||
int AccountModel::getVoicemailCount() {
|
||||
auto userData = getUserData(mMonitor);
|
||||
if (userData) return userData->voicemailCount;
|
||||
else return 0;
|
||||
else return 1;
|
||||
}
|
||||
|
||||
bool AccountModel::getShowMwi() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue