diff options
Diffstat (limited to 'xmpp-vala/src/module/stream_error.vala')
-rw-r--r-- | xmpp-vala/src/module/stream_error.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/stream_error.vala b/xmpp-vala/src/module/stream_error.vala index 73e2bb36..d47ddc60 100644 --- a/xmpp-vala/src/module/stream_error.vala +++ b/xmpp-vala/src/module/stream_error.vala @@ -8,6 +8,7 @@ namespace Xmpp.StreamError { public class Module : XmppStreamModule { public const string ID = "stream_error_module"; + public static ModuleIdentity<Module> IDENTITY = new ModuleIdentity<Module>(NS_URI, ID); public override void attach(XmppStream stream) { stream.received_nonza.connect(on_received_nonstanza); @@ -18,7 +19,7 @@ namespace Xmpp.StreamError { } 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) { |