summaryrefslogtreecommitdiff
path: root/libpurple/protocols/jabber/disco.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpurple/protocols/jabber/disco.c')
-rw-r--r--libpurple/protocols/jabber/disco.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libpurple/protocols/jabber/disco.c b/libpurple/protocols/jabber/disco.c
index e722186062..dbeffcb02d 100644
--- a/libpurple/protocols/jabber/disco.c
+++ b/libpurple/protocols/jabber/disco.c
@@ -413,12 +413,7 @@ jabber_disco_server_info_result_cb(JabberStream *js, const char *from,
category = purple_xmlnode_get_attrib(child, "category");
type = purple_xmlnode_get_attrib(child, "type");
if(purple_strequal(category, "pubsub") && purple_strequal(type, "pep")) {
- PurpleConnection *gc = js->gc;
js->pep = TRUE;
- purple_connection_set_flags(gc,
- purple_connection_get_flags(gc)
- | PURPLE_CONNECTION_FLAG_SUPPORT_MOODS
- | PURPLE_CONNECTION_FLAG_SUPPORT_MOOD_MESSAGES);
}
if (!purple_strequal(category, "server"))
continue;