equal
deleted
inserted
replaced
87 is_session = TRUE; |
87 is_session = TRUE; |
88 } |
88 } |
89 if(!is_session) { // None of the app is supported |
89 if(!is_session) { // None of the app is supported |
90 jingle_send_session_terminate(m, "unsupported-applications"); |
90 jingle_send_session_terminate(m, "unsupported-applications"); |
91 } |
91 } |
|
92 |
|
93 is_session = FALSE; |
|
94 // Do we support any of this xmlns ? |
|
95 for (child = jn->content; child && !is_session; child = child->next) { |
|
96 if(jingle_get_transportfuncs(((JingleContent*)(child->data))->xmlns_trans) != NULL) |
|
97 is_session = TRUE; |
|
98 } |
|
99 if(!is_session) { // None of the transport is supported |
|
100 jingle_send_session_terminate(m, "unsupported-transports"); |
|
101 } |
92 } |
102 } |
93 |
103 |
94 void handle_session_terminate(LmMessage *m, JingleNode *jn) |
104 void handle_session_terminate(LmMessage *m, JingleNode *jn) |
95 { |
105 { |
96 JingleSession *sess; |
106 JingleSession *sess; |