# HG changeset patch # User John Bailey # Date 1227982858 0 # Node ID 5cd0188892f68b88ef6d203457b2998bdf555f5e # Parent df9f962aa907e43e15dd7d3c55ba2d15de0989ec Revert the part of 280dc76b which broke XMPP resources such that only those assigned by the server would work. diff -r df9f962aa907 -r 5cd0188892f6 libpurple/protocols/jabber/jabber.c --- a/libpurple/protocols/jabber/jabber.c Sat Nov 29 17:05:43 2008 +0000 +++ b/libpurple/protocols/jabber/jabber.c Sat Nov 29 18:20:58 2008 +0000 @@ -150,7 +150,7 @@ char hostname[256]; /* current hostname */ /* Empty resource == don't send any */ - if (*input == '\0' || strstr(input, "__HOSTNAME__") == NULL) + if (*input == '\0') return NULL; /* Replace __HOSTNAME__ with hostname */