Default voicemail count to 1 (for situations where MWI server does not send count)

This commit is contained in:
Christophe Deschamps 2024-11-05 06:48:38 +01:00
parent 7c639b734e
commit 9a4653580c

View file

@ -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() {