aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/core
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2021-10-15 01:13:56 +0200
committerfiaxh <git@lightrise.org>2021-10-15 01:13:56 +0200
commit8339d95621530664b8306b8b033976529510ed17 (patch)
tree4b07f539366b31baa4ec9d40ce2e44804ab3ac60 /xmpp-vala/src/core
parent44c0e65129254a02828f0f169da4c01d5cbf8e48 (diff)
downloaddino-8339d95621530664b8306b8b033976529510ed17.tar.gz
dino-8339d95621530664b8306b8b033976529510ed17.zip
Fix crash when using direct TLS + ALPN
Diffstat (limited to 'xmpp-vala/src/core')
-rw-r--r--xmpp-vala/src/core/direct_tls_xmpp_stream.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/core/direct_tls_xmpp_stream.vala b/xmpp-vala/src/core/direct_tls_xmpp_stream.vala
index ee796350..8819e2df 100644
--- a/xmpp-vala/src/core/direct_tls_xmpp_stream.vala
+++ b/xmpp-vala/src/core/direct_tls_xmpp_stream.vala
@@ -1,6 +1,6 @@
public class Xmpp.DirectTlsXmppStream : TlsXmppStream {
- const string[] ADVERTISED_PROTOCOLS = {"xmpp-client"};
+ const string[] ADVERTISED_PROTOCOLS = {"xmpp-client", null};
string host;
uint16 port;