forked from mirrors/linphone-iphone
On invalidate, only notify friend with an already known presence model
This commit is contained in:
parent
79b104fbbc
commit
7fca3be419
1 changed files with 2 additions and 2 deletions
|
|
@ -252,9 +252,9 @@ void linphone_friend_invalidate_subscription(LinphoneFriend *lf){
|
|||
/* Notify application that we no longer know the presence activity */
|
||||
if (lf->presence != NULL) {
|
||||
linphone_presence_model_unref(lf->presence);
|
||||
lf->presence = linphone_presence_model_new_with_activity(LinphonePresenceActivityOffline,"unknown activity");
|
||||
linphone_core_notify_notify_presence_received(lc,lf);
|
||||
}
|
||||
lf->presence = linphone_presence_model_new_with_activity(LinphonePresenceActivityOffline,"unknown activity");
|
||||
linphone_core_notify_notify_presence_received(lc,lf);
|
||||
|
||||
lf->initial_subscribes_sent=FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue