From b5066e0e2f4b482204f43402c797d8bf9f7ef582 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Wed, 29 Apr 2020 14:10:43 +0200 Subject: Check if server supports uid --- xmpp-vala/src/module/xep/0030_service_discovery/flag.vala | 2 +- xmpp-vala/src/module/xep/0313_message_archive_management.vala | 1 + xmpp-vala/src/module/xep/0359_unique_stable_stanza_ids.vala | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'xmpp-vala/src/module') diff --git a/xmpp-vala/src/module/xep/0030_service_discovery/flag.vala b/xmpp-vala/src/module/xep/0030_service_discovery/flag.vala index 0ecd98fb..7716ceff 100644 --- a/xmpp-vala/src/module/xep/0030_service_discovery/flag.vala +++ b/xmpp-vala/src/module/xep/0030_service_discovery/flag.vala @@ -5,7 +5,7 @@ namespace Xmpp.Xep.ServiceDiscovery { public class Flag : XmppStreamFlag { public static FlagIdentity IDENTITY = new FlagIdentity(NS_URI, "service_discovery"); - private HashMap?> entity_features = new HashMap?>(Jid.hash_func, Jid.equals_func); + public HashMap?> entity_features = new HashMap?>(Jid.hash_func, Jid.equals_func); private HashMap?> entity_identities = new HashMap?>(Jid.hash_func, Jid.equals_func); private HashMap?> entity_items = new HashMap?>(Jid.hash_func, Jid.equals_func); diff --git a/xmpp-vala/src/module/xep/0313_message_archive_management.vala b/xmpp-vala/src/module/xep/0313_message_archive_management.vala index dfb3bb7a..f45dda01 100644 --- a/xmpp-vala/src/module/xep/0313_message_archive_management.vala +++ b/xmpp-vala/src/module/xep/0313_message_archive_management.vala @@ -1,6 +1,7 @@ namespace Xmpp.Xep.MessageArchiveManagement { public const string NS_URI = "urn:xmpp:mam:2"; +public const string NS_URI_2 = "urn:xmpp:mam:2"; public const string NS_URI_1 = "urn:xmpp:mam:1"; private static string NS_VER(XmppStream stream) { diff --git a/xmpp-vala/src/module/xep/0359_unique_stable_stanza_ids.vala b/xmpp-vala/src/module/xep/0359_unique_stable_stanza_ids.vala index 861e9bcc..01955d73 100644 --- a/xmpp-vala/src/module/xep/0359_unique_stable_stanza_ids.vala +++ b/xmpp-vala/src/module/xep/0359_unique_stable_stanza_ids.vala @@ -1,6 +1,6 @@ namespace Xmpp.Xep.UniqueStableStanzaIDs { -private const string NS_URI = "urn:xmpp:sid:0"; +public const string NS_URI = "urn:xmpp:sid:0"; private const string HINT_NO_PERMANENT_STORE = "no-permanent-store"; private const string HINT_NO_STORE = "no-store"; -- cgit v1.2.3-70-g09d2