Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.c @ 24508:5cd0188892f6
Revert the part of 280dc76b which broke XMPP resources such that only those
assigned by the server would work.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Sat, 29 Nov 2008 18:20:58 +0000 |
parents | 9bb624e345aa |
children | 6b9552b09de0 c4eb9f10ecb5 |
line wrap: on
line diff
--- 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 */