#983 mod_server_contact_info puts data in options instead of values

Reporter Zash
Owner MattJ
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Status-Fixed
  • Milestone-0.10
  • Type-Defect
  1. Zash on

    What steps will reproduce the problem? 1. Enable mod_server_contact_info 2. Set some contact options for it 3. Ensure it is loaded 4. Send a disco#info query to the server What is the expected output? As in https://xmpp.org/extensions/xep-0157.html#example-2 <iq from='shakespeare.lit' type='result'> <query xmlns='http://jabber.org/protocol/disco#info'> <x xmlns='jabber:x:data' type='result'> <field var='FORM_TYPE' type='hidden'> <value>http://jabber.org/network/serverinfo</value> </field> <field var='admin-addresses'> <value>mailto:xmpp@shakespeare.lit</value> </field> </x> </query> </iq> What do you see instead? <iq from='shakespeare.lit' type='result'> <query xmlns='http://jabber.org/protocol/disco#info'> <x xmlns='jabber:x:data' type='result'> <field var='FORM_TYPE' type='hidden'> <value>http://jabber.org/network/serverinfo</value> </field> <field var='admin-addresses'> <option> <value>mailto:xmpp@shakespeare.lit</value> </option> </field> </x> </query> </iq> What version of the product are you using? On what operating system? 8ea0484871e8 (0.10) Please provide any additional information below. See also #982

  2. MattJ on

    Fixed in d70d4c1ac17a

    Changes
    • owner MattJ
    • tags Status-Fixed Milestone-0.10

New comment

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