aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-ui-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 0b0bf3050..7e4a82369 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1984,7 +1984,7 @@ empathy_individual_match_string (FolksIndividual *individual,
/* Accept the persona if @text is a full prefix of his ID; that allows
* user to find, say, a jabber contact by typing his JID. */
- if (!g_str_has_prefix (str, text))
+ if (g_str_has_prefix (str, text))
{
retval = TRUE;
}