From 0c6e567a85e8c42cc182ae82e4924e90656bcfd9 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 17 Jan 2012 11:12:24 +0100 Subject: account-widget: allow JID such as 'test@localhost' Thanks to marc@ttux.net for his help. https://bugzilla.gnome.org/show_bug.cgi?id=660856 --- libempathy-gtk/empathy-account-widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c index fc95f66aa..0de4dc80f 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -199,7 +199,7 @@ static guint signals[LAST_SIGNAL] = { 0 }; #define ACCOUNT_REGEX_ICQ "^"ICQ_USER_NAME"$" #define ACCOUNT_REGEX_IRC "^"IRC_NICK_NAME"$" #define USERNAME_REGEX_IRC "^"IRC_USER_NAME"$" -#define ACCOUNT_REGEX_JABBER "^"JABBER_USER_NAME"@"HOST"$" +#define ACCOUNT_REGEX_JABBER "^"JABBER_USER_NAME"@[^@/]+" #define ACCOUNT_REGEX_MSN "^"MSN_USER_NAME"@"HOST"$" #define ACCOUNT_REGEX_YAHOO "^"YAHOO_USER_NAME"$" -- cgit v1.2.3