#1664 mod_disco on account doesn't return disco#info feature

Reporter Paul Farilelo
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Difficulty-Easy
  • Compliance
  • Status-Accepted
  • Priority-Medium
  • Type-Defect
  1. Paul Farilelo on

    Prosody doesn't return disco#info feature in the disco#info result on an account. xep-0030 states in 3.1 https://xmpp.org/extensions/xep-0030.html#info-basic: "Note: Every entity MUST have at least one identity, and every entity MUST support at least the 'http://jabber.org/protocol/disco#info' feature" The following has been tested on prosody 0.11.9: <iq xmlns="jabber:client" id="4bc60dc7-f79e-4e6f-aeb4-b8db05dc5408" type="get"><query xmlns="http://jabber.org/protocol/disco#info"/></iq> <iq xmlns="jabber:client" from="<redacted>" id="4bc60dc7-f79e-4e6f-aeb4-b8db05dc5408" to="<redacted>" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="account" type="registered"/><feature var="tigase:push:priority:0"/><feature var="urn:xmpp:pep-vcard-conversion:0"/><identity category="pubsub" type="pep"/><feature var="http://jabber.org/protocol/pubsub"/><feature var="http://jabber.org/protocol/pubsub#member-affiliation"/><feature var="http://jabber.org/protocol/pubsub#subscribe"/><feature var="http://jabber.org/protocol/pubsub#config-node"/><feature var="http://jabber.org/protocol/pubsub#retrieve-default"/><feature var="http://jabber.org/protocol/pubsub#retrieve-items"/><feature var="http://jabber.org/protocol/pubsub#presence-subscribe"/><feature var="http://jabber.org/protocol/pubsub#auto-create"/><feature var="http://jabber.org/protocol/pubsub#persistent-items"/><feature var="http://jabber.org/protocol/pubsub#auto-subscribe"/><feature var="http://jabber.org/protocol/pubsub#presence-notifications"/><feature var="http://jabber.org/protocol/pubsub#last-published"/><feature var="http://jabber.org/protocol/pubsub#publisher-affiliation"/><feature var="http://jabber.org/protocol/pubsub#item-ids"/><feature var="http://jabber.org/protocol/pubsub#multi-items"/><feature var="http://jabber.org/protocol/pubsub#filtered-notifications"/><feature var="http://jabber.org/protocol/pubsub#delete-nodes"/><feature var="http://jabber.org/protocol/pubsub#outcast-affiliation"/><feature var="http://jabber.org/protocol/pubsub#instant-nodes"/><feature var="http://jabber.org/protocol/pubsub#publish-options"/><feature var="http://jabber.org/protocol/pubsub#delete-items"/><feature var="http://jabber.org/protocol/pubsub#retrieve-subscriptions"/><feature var="http://jabber.org/protocol/pubsub#publish"/><feature var="http://jabber.org/protocol/pubsub#meta-data"/><feature var="http://jabber.org/protocol/pubsub#purge-nodes"/><feature var="http://jabber.org/protocol/pubsub#subscription-options"/><feature var="http://jabber.org/protocol/pubsub#create-nodes"/><feature var="http://jabber.org/protocol/pubsub#create-and-configure"/><feature var="http://jabber.org/protocol/pubsub#modify-affiliations"/><feature var="http://jabber.org/protocol/pubsub#retract-items"/><feature var="http://jabber.org/protocol/pubsub#access-presence"/><feature var="urn:xmpp:bookmarks-conversion:0"/><feature var="urn:xmpp:mam:0"/><feature var="urn:xmpp:mam:1"/><feature var="urn:xmpp:mam:2"/><feature var="urn:xmpp:sid:0"/><feature var="urn:ietf:params:xml:ns:vcard-4.0"/><feature var="tigase:push:filter:ignore-unknown:0"/><feature var="tigase:push:filter:muted:0"/><feature var="tigase:push:filter:groupchat:0"/><feature var="urn:xmpp:push:0"/><feature var="tigase:push:encrypt:0"/><feature var="tigase:push:encrypt:aes-128-gcm"/></query></iq>

  2. Zash on

    Thanks for the report. Should be an easy fix, should you or anyone wish to provide a patch

    Changes
    • tags Status-Accepted Difficulty-Easy

New comment

Not published. Used for spam prevention and optional update notifications.