jingle/action-handlers.c
changeset 148 cb40539b88b7
parent 133 361d8577ebd1
child 156 653fa009fea3
equal deleted inserted replaced
147:c72010633a86 148:cb40539b88b7
    43   GError *err = NULL;
    43   GError *err = NULL;
    44   gboolean valid_disposition = FALSE;
    44   gboolean valid_disposition = FALSE;
    45   JingleContent *cn;
    45   JingleContent *cn;
    46   gchar *sbuf;
    46   gchar *sbuf;
    47   GSList *child = NULL;
    47   GSList *child = NULL;
    48   LmMessage *r;
       
    49   gchar *disp;
    48   gchar *disp;
    50   JingleSession *sess;
    49   JingleSession *sess;
    51   const gchar *xmlns;
    50   const gchar *xmlns;
    52   JingleAppFuncs *appfuncs;
    51   JingleAppFuncs *appfuncs;
    53   JingleTransportFuncs *transfuncs;
    52   JingleTransportFuncs *transfuncs;
    54   gconstpointer description, transport;
       
    55   
    53   
    56   // Make sure the request come from an user in our roster
    54   // Make sure the request come from an user in our roster
    57   disp = jidtodisp(lm_message_get_from(jn->message));
    55   disp = jidtodisp(lm_message_get_from(jn->message));
    58   if (!roster_find(disp, jidsearch, 0)) {
    56   if (!roster_find(disp, jidsearch, 0)) {
    59     // We say that we doesn't support jingle.
    57     // We say that we doesn't support jingle.