diff options
Diffstat (limited to 'res/res_pjsip_pubsub.c')
-rw-r--r-- | res/res_pjsip_pubsub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_pubsub.c b/res/res_pjsip_pubsub.c index 9032bd3f6..cfda0aeb5 100644 --- a/res/res_pjsip_pubsub.c +++ b/res/res_pjsip_pubsub.c @@ -566,7 +566,7 @@ static int subscription_persistence_recreate(void *obj, void *arg, int flags) pubsub_module.id, MOD_DATA_PERSISTENCE, persistence); resp = handler->notifier->new_subscribe(endpoint, resource); - if (!PJSIP_IS_STATUS_IN_CLASS(resp, 200)) { + if (PJSIP_IS_STATUS_IN_CLASS(resp, 200)) { sub = notifier_create_subscription(handler, endpoint, &rdata, resource, generator); sub->persistence = ao2_bump(persistence); subscription_persistence_update(sub, &rdata); |