aboutsummaryrefslogtreecommitdiff
path: root/plugins/http-files/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/http-files/src')
-rw-r--r--plugins/http-files/src/upload_stream_module.vala6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/http-files/src/upload_stream_module.vala b/plugins/http-files/src/upload_stream_module.vala
index 573f298a..2e697afa 100644
--- a/plugins/http-files/src/upload_stream_module.vala
+++ b/plugins/http-files/src/upload_stream_module.vala
@@ -75,8 +75,6 @@ public class UploadStreamModule : XmppStreamModule {
}
public override void attach(XmppStream stream) {
- Iq.Module.require(stream);
- ServiceDiscovery.Module.require(stream);
stream.stream_negotiated.connect(query_availability);
}
@@ -84,10 +82,6 @@ public class UploadStreamModule : XmppStreamModule {
stream.get_module(Bind.Module.IDENTITY).bound_to_resource.disconnect(query_availability);
}
- public static void require(XmppStream stream) {
- if (stream.get_module(IDENTITY) == null) stream.add_module(new ChatMarkers.Module());
- }
-
public override string get_ns() { return NS_URI; }
public override string get_id() { return IDENTITY.id; }