From 06eef808b0ce5d7d7056240be6286aa79ac6a9ec Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Thu, 21 Feb 2013 14:03:15 +0000 Subject: For the lazy among us: When adding a Jabber/MSN contact within the same domain like you, you can omit the domain name. --- protocols/jabber/jabber.c | 3 ++- protocols/jabber/jabber.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'protocols/jabber') diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c index 86daaa6a..8f0f8cac 100644 --- a/protocols/jabber/jabber.c +++ b/protocols/jabber/jabber.c @@ -95,7 +95,8 @@ static void jabber_init( account_t *acc ) s = set_add( &acc->set, "xmlconsole", "false", set_eval_bool, acc ); s->flags |= ACC_SET_OFFLINE_ONLY; - acc->flags |= ACC_FLAG_AWAY_MESSAGE | ACC_FLAG_STATUS_MESSAGE; + acc->flags |= ACC_FLAG_AWAY_MESSAGE | ACC_FLAG_STATUS_MESSAGE | + ACC_FLAG_HANDLE_DOMAINS; } static void jabber_generate_id_hash( struct jabber_data *jd ); diff --git a/protocols/jabber/jabber.h b/protocols/jabber/jabber.h index fa0ca015..f5127a0b 100644 --- a/protocols/jabber/jabber.h +++ b/protocols/jabber/jabber.h @@ -195,7 +195,7 @@ struct jabber_transfer struct sockaddr_storage saddr; }; -#define JABBER_XMLCONSOLE_HANDLE "xmlconsole" +#define JABBER_XMLCONSOLE_HANDLE "_xmlconsole" #define JABBER_OAUTH_HANDLE "jabber_oauth" /* Prefixes to use for packet IDs (mainly for IQ packets ATM). Usually the -- cgit v1.2.3