]> sjero.net Git - linphone/blobdiff - coreapi/presence.c
Update ms2
[linphone] / coreapi / presence.c
index 500ce6d7e8e6e59a5d048e4c851a1dd8e210698f..ca63572588c764cfcde05fa5b7ff39f8d6e13cc9 100644 (file)
@@ -31,9 +31,9 @@ void linphone_core_add_subscriber(LinphoneCore *lc, const char *subscriber, SalO
        linphone_friend_set_inc_subscribe_policy(fl,LinphoneSPAccept);
        fl->inc_subscribe_pending=TRUE;
        lc->subscribers=ms_list_append(lc->subscribers,(void *)fl);
-       if (lc->vtable.new_unknown_subscriber!=NULL) {
+       if (lc->vtable.new_subscription_request!=NULL) {
                char *tmp=linphone_address_as_string(fl->uri);
-               lc->vtable.new_unknown_subscriber(lc,fl,tmp);
+               lc->vtable.new_subscription_request(lc,fl,tmp);
                ms_free(tmp);
        }
 }
@@ -101,7 +101,7 @@ void linphone_subscription_new(LinphoneCore *lc, SalOp *op, const char *from){
        ms_free(tmp);
 }
 
-void linphone_notify_recv(LinphoneCore *lc, SalOp *op, SalSubscribeState ss, SalPresenceStatus sal_status){
+void linphone_notify_recv(LinphoneCore *lc, SalOp *op, SalSubscribeStatus ss, SalPresenceStatus sal_status){
        char *tmp;
        LinphoneFriend *lf;
        LinphoneAddress *friend=NULL;