Commit fc5296b4 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix Python unit tests.

parent 207881d1
......@@ -570,6 +570,11 @@ class CoreManager:
manager.stats.number_of_LinphonePresenceActivityWorking += 1
elif acttype == linphone.PresenceActivityType.Worship:
manager.stats.number_of_LinphonePresenceActivityWorship += 1
if manager.stats.last_received_presence.nb_activities == 0:
if manager.stats.last_received_presence.basic_status == linphone.PresenceBasicStatus.Open:
manager.stats.number_of_LinphonePresenceActivityOnline += 1
else:
manager.stats.number_of_LinphonePresenceActivityOffline += 1
def __init__(self, rc_file = None, check_for_proxies = True, vtable = {}):
if not vtable.has_key('registration_state_changed'):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment