aboutsummaryrefslogtreecommitdiff
path: root/plugins/openpgp
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-08-12 23:27:20 +0200
committerfiaxh <git@mx.ax.lt>2017-08-14 22:38:17 +0200
commitb0264b3e0034ddd9ea76d0e13bb4c3c709ba3b3e (patch)
tree9ee146149360fa87a123c77e8d983ae393ed8f8f /plugins/openpgp
parenta59f728bdd7b81964a460b96b6c56da0d9dfda01 (diff)
downloaddino-b0264b3e0034ddd9ea76d0e13bb4c3c709ba3b3e.tar.gz
dino-b0264b3e0034ddd9ea76d0e13bb4c3c709ba3b3e.zip
xmpp-vala: Remove require-functions
Diffstat (limited to 'plugins/openpgp')
-rw-r--r--plugins/openpgp/src/stream_module.vala2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/openpgp/src/stream_module.vala b/plugins/openpgp/src/stream_module.vala
index b9742624..745f2005 100644
--- a/plugins/openpgp/src/stream_module.vala
+++ b/plugins/openpgp/src/stream_module.vala
@@ -49,10 +49,8 @@ namespace Dino.Plugins.OpenPgp {
}
public override void attach(XmppStream stream) {
- Presence.Module.require(stream);
stream.get_module(Presence.Module.IDENTITY).received_presence.connect(on_received_presence);
stream.get_module(Presence.Module.IDENTITY).pre_send_presence_stanza.connect(on_pre_send_presence_stanza);
- Message.Module.require(stream);
stream.get_module(Message.Module.IDENTITY).pre_received_message.connect(on_pre_received_message);
stream.add_flag(new Flag());
}