about summary refs log tree commit diff stats
path: root/src/ui/titlebar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/titlebar.c')
-rw-r--r--src/ui/titlebar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c
index 42da14b6..8d05eefb 100644
--- a/src/ui/titlebar.c
+++ b/src/ui/titlebar.c
@@ -264,7 +264,7 @@ _show_privacy(void)
 
     if (current_recipient != NULL) {
         char *recipient_jid = NULL;
-        char *found_contact = roster_find_contact(current_recipient);
+        char *found_contact = roster_contact_autocomplete(current_recipient);
         if (found_contact != NULL) {
             recipient_jid = roster_barejid_from_name(current_recipient);
             free(found_contact);
@@ -338,7 +338,7 @@ _show_contact_presence(void)
 
     if (prefs_get_boolean(PREF_PRESENCE) && current_recipient) {
         char *recipient_jid = NULL;
-        char *found_contact = roster_find_contact(current_recipient);
+        char *found_contact = roster_contact_autocomplete(current_recipient);
         if (found_contact) {
             recipient_jid = roster_barejid_from_name(current_recipient);
             free(found_contact);