| 2559 caps_info = g_hash_table_lookup(jabber_contact_info, fulljid); |
2559 caps_info = g_hash_table_lookup(jabber_contact_info, fulljid); |
| 2560 |
2560 |
| 2561 if (!caps_info) return FALSE; |
2561 if (!caps_info) return FALSE; |
| 2562 capabilities = g_hash_table_lookup(capstable, caps_info); |
2562 capabilities = g_hash_table_lookup(capstable, caps_info); |
| 2563 |
2563 |
| 2564 if (g_list_find_custom(capabilities->features, feature, strcmp) == NULL) return FALSE ; |
2564 if (g_list_find_custom(capabilities->features, feature, (GCompareFunc)strcmp) == NULL) return FALSE ; |
| 2565 return TRUE; |
2565 return TRUE; |
| 2566 } |
2566 } |
| 2567 |
2567 |
| 2568 static void |
2568 static void |
| 2569 jabber_ipc_add_feature(gchar *feature) |
2569 jabber_ipc_add_feature(gchar *feature) |