changeset 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 df9f962aa907
children 125cac3e24ee 5f597914cd01 c4eb9f10ecb5
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 */