Now checks for exitence of contact before sending message

This commit is contained in:
James Booth
2012-10-04 23:18:48 +01:00
parent 9e23060986
commit e486114e05
4 changed files with 44 additions and 12 deletions

View File

@@ -25,6 +25,8 @@
#include <glib.h>
#include "contact.h"
void contact_list_init(void);
void contact_list_clear(void);
void reset_search_attempts(void);
@@ -33,5 +35,6 @@ gboolean contact_list_add(const char * const name, const char * const show,
gboolean contact_list_remove(const char * const name);
GSList * get_contact_list(void);
char * find_contact(char *search_str);
PContact contact_list_get_contact(const char const *jid);
#endif