aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-01-17 18:12:24 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-01-17 18:13:17 +0800
commit0c6e567a85e8c42cc182ae82e4924e90656bcfd9 (patch)
treead53f2ac43f26c1385b630a298362d973a122cd8 /libempathy-gtk
parent5c615ca9c2ffcff23925c154e36dfeccf416ec30 (diff)
downloadgsoc2013-empathy-0c6e567a85e8c42cc182ae82e4924e90656bcfd9.tar
gsoc2013-empathy-0c6e567a85e8c42cc182ae82e4924e90656bcfd9.tar.gz
gsoc2013-empathy-0c6e567a85e8c42cc182ae82e4924e90656bcfd9.tar.bz2
gsoc2013-empathy-0c6e567a85e8c42cc182ae82e4924e90656bcfd9.tar.lz
gsoc2013-empathy-0c6e567a85e8c42cc182ae82e4924e90656bcfd9.tar.xz
gsoc2013-empathy-0c6e567a85e8c42cc182ae82e4924e90656bcfd9.tar.zst
gsoc2013-empathy-0c6e567a85e8c42cc182ae82e4924e90656bcfd9.zip
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
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-account-widget.c2
1 files changed, 1 insertions, 1 deletions
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"$"