Changeset 2264
- Timestamp:
- Sep 8, 2008 12:46:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r2194 r2264 1180 1180 1181 1181 pjsip_pres_get_status(uapres->sub, &pres_status); 1182 if (force || pres_status.info[0].basic_open != acc->online_status) { 1182 1183 /* Only send NOTIFY once subscription is active. Some subscriptions 1184 * may still be in NULL (when app is adding a new buddy while in the 1185 * on_incoming_subscribe() callback) or PENDING (when user approval is 1186 * being requested) state and we don't send NOTIFY to these subs until 1187 * the user accepted the request. 1188 */ 1189 if (pjsip_evsub_get_state(uapres->sub)==PJSIP_EVSUB_STATE_ACTIVE && 1190 (force || pres_status.info[0].basic_open != acc->online_status)) 1191 { 1183 1192 1184 1193 pres_status.info[0].basic_open = acc->online_status;
Note: See TracChangeset
for help on using the changeset viewer.