libpurple/protocols/sametime/sametime.c

branch
soc.2013.gobjectification
changeset 35070
d7350d876fda
parent 35005
bff56dfca65d
child 35378
5d9e2581005b
child 36956
4808d6391e69
equal deleted inserted replaced
35069:bdc5207ad4b7 35070:d7350d876fda
1277 1277
1278 gc = purple_conversation_get_connection(g_conv); 1278 gc = purple_conversation_get_connection(g_conv);
1279 if(pd->gc != gc) 1279 if(pd->gc != gc)
1280 return; /* not ours */ 1280 return; /* not ours */
1281 1281
1282 if(PURPLE_IS_CHAT_CONVERSATION(g_conv)) 1282 if(!PURPLE_IS_IM_CONVERSATION(g_conv))
1283 return; /* wrong type */ 1283 return; /* wrong type */
1284 1284
1285 who.user = (char *) purple_conversation_get_name(g_conv); 1285 who.user = (char *) purple_conversation_get_name(g_conv);
1286 conv = mwServiceIm_getConversation(pd->srvc_im, &who); 1286 conv = mwServiceIm_getConversation(pd->srvc_im, &who);
1287 1287

mercurial