Skip to content
Snippets Groups Projects
Commit 25266594 authored by Richard Mudgett's avatar Richard Mudgett
Browse files

res_pjsip_pubsub.c: Add some notification comments.

Change-Id: Ie62ff1f4b7adc1a12fa0303f53926af249b25e20
parent 9b290dfe
No related branches found
No related tags found
No related merge requests found
......@@ -1171,6 +1171,7 @@ static void shutdown_subscriptions(struct ast_sip_subscription *sub)
return;
}
/* We notify subscription shutdown only on the tree leaves. */
if (sub->handler->subscription_shutdown) {
sub->handler->subscription_shutdown(sub);
}
......@@ -2523,6 +2524,7 @@ static int generate_initial_notify(struct ast_sip_subscription *sub)
return 0;
}
/* We notify subscription establishment only on the tree leaves. */
if (sub->handler->notifier->subscription_established(sub)) {
return -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment