| 1355 SilcPurpleIM im = context; |
1355 SilcPurpleIM im = context; |
| 1356 PurpleConversation *convo; |
1356 PurpleConversation *convo; |
| 1357 char tmp[256]; |
1357 char tmp[256]; |
| 1358 SilcClientEntry client_entry; |
1358 SilcClientEntry client_entry; |
| 1359 SilcDList list; |
1359 SilcDList list; |
| |
1360 gboolean free_list = FALSE; |
| 1360 |
1361 |
| 1361 convo = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, im->nick, |
1362 convo = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, im->nick, |
| 1362 sg->account); |
1363 sg->account); |
| 1363 if (!convo) |
1364 if (!convo) |
| 1364 return; |
1365 return; |
| 1411 g_snprintf(tmp, sizeof(tmp), |
1414 g_snprintf(tmp, sizeof(tmp), |
| 1412 _("User <I>%s</I> is not present in the network"), im->nick); |
1415 _("User <I>%s</I> is not present in the network"), im->nick); |
| 1413 purple_conversation_write(convo, NULL, tmp, PURPLE_MESSAGE_SYSTEM, time(NULL)); |
1416 purple_conversation_write(convo, NULL, tmp, PURPLE_MESSAGE_SYSTEM, time(NULL)); |
| 1414 |
1417 |
| 1415 out: |
1418 out: |
| |
1419 if (free_list) { |
| |
1420 silc_client_list_free(client, conn, clients); |
| |
1421 } |
| 1416 g_free(im->nick); |
1422 g_free(im->nick); |
| 1417 g_free(im->message); |
1423 g_free(im->message); |
| 1418 silc_free(im); |
1424 silc_free(im); |
| 1419 } |
1425 } |
| 1420 |
1426 |