diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2013-02-21 14:03:15 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2013-02-21 14:03:15 +0000 |
commit | 06eef808b0ce5d7d7056240be6286aa79ac6a9ec (patch) | |
tree | f2ef90945c7595580ff4aeb33ee78320132c8ab4 /protocols/jabber | |
parent | 12f500f085fe715b62e13c9b67b23f952c100a21 (diff) |
For the lazy among us: When adding a Jabber/MSN contact within the same
domain like you, you can omit the domain name.
Diffstat (limited to 'protocols/jabber')
-rw-r--r-- | protocols/jabber/jabber.c | 3 | ||||
-rw-r--r-- | protocols/jabber/jabber.h | 2 |
2 files changed, 3 insertions, 2 deletions
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 |