aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep/0280_message_carbons.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-03-10 23:20:36 +0100
committerfiaxh <git@mx.ax.lt>2017-03-10 23:20:36 +0100
commit95e8d126db06a183918b4db4e84013ff28f8b1f7 (patch)
tree05c0d3f6d538a95f984fb6108d7d3938d6731044 /xmpp-vala/src/module/xep/0280_message_carbons.vala
parent24b55d83a1f9e21b028c8d5ac9778e75565f417d (diff)
parentd8e102a160f316369c99d3dc2df7d7d54f5bc955 (diff)
downloaddino-95e8d126db06a183918b4db4e84013ff28f8b1f7.tar.gz
dino-95e8d126db06a183918b4db4e84013ff28f8b1f7.zip
Merge branch 'master' of github.com:dino/dino
Diffstat (limited to 'xmpp-vala/src/module/xep/0280_message_carbons.vala')
-rw-r--r--xmpp-vala/src/module/xep/0280_message_carbons.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/xep/0280_message_carbons.vala b/xmpp-vala/src/module/xep/0280_message_carbons.vala
index 18b2ecdf..097a4a76 100644
--- a/xmpp-vala/src/module/xep/0280_message_carbons.vala
+++ b/xmpp-vala/src/module/xep/0280_message_carbons.vala
@@ -5,6 +5,7 @@ namespace Xmpp.Xep.MessageCarbons {
public class Module : XmppStreamModule {
public const string ID = "0280_message_carbons_module";
+ public static ModuleIdentity<Module> IDENTITY = new ModuleIdentity<Module>(NS_URI, ID);
public void enable(XmppStream stream) {
Iq.Stanza iq = new Iq.Stanza.set(new StanzaNode.build("enable", NS_URI).add_self_xmlns());
@@ -33,7 +34,7 @@ namespace Xmpp.Xep.MessageCarbons {
}
public static Module? get_module(XmppStream stream) {
- return (Module?) stream.get_module(NS_URI, ID);
+ return (Module?) stream.get_module(IDENTITY);
}
public static void require(XmppStream stream) {