mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2026-01-10 18:49:19 -08:00
PubSub protocol support
Added support for : - XEP-0050 (Command)) - XEP-0060 (PubSub) - XEP-0004 (Forms) Fixed the NewClient function by adding parsing of the domain from the JID if no domain is provided in transport config. Updated xmpp_jukebox example
This commit is contained in:
@@ -67,7 +67,7 @@ func TestParsingDelegationIQ(t *testing.T) {
|
||||
return
|
||||
}
|
||||
if forwardedIQ.Payload != nil {
|
||||
if pubsub, ok := forwardedIQ.Payload.(*PubSub); ok {
|
||||
if pubsub, ok := forwardedIQ.Payload.(*PubSubGeneric); ok {
|
||||
node = pubsub.Publish.Node
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user