From 2f6b1a11209260f4ee7b9469e39d16e78fb23a0f Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 30 Jun 2023 12:09:50 +0200 Subject: Add dummy handler for stream features elements This is the first step to handle stream features correctly with the new routing infrastructure. --- xmpp/stream_pair.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xmpp/stream_pair.go') diff --git a/xmpp/stream_pair.go b/xmpp/stream_pair.go index c9108d1..3e42cd1 100644 --- a/xmpp/stream_pair.go +++ b/xmpp/stream_pair.go @@ -90,3 +90,7 @@ func closeStream(s *session) { log.Println("Could not encode stream end!") } } + +func streamFeaturesHandler(e []xml.Token) { + log.Println("Received stream features") +} -- cgit v1.2.3-70-g09d2