maranda / metronome

Metronome IM, lightweight xmpp server with advanced microblogging features.
https://metronome.im
Other
165 stars 40 forks source link

IBR: Missing FORM_TYPE field on dataform #500

Closed lovetox closed 4 years ago

lovetox commented 4 years ago

Hi,

metronome returns a dataform which misses this field

jabber:iq:register

tested at lightwitch.org

maranda commented 4 years ago

Hi lovetox,

Could you submit a dump of the incriminated stanza/s?

Thanks

lovetox commented 4 years ago
<iq xmlns="jabber:client" from="lightwitch.org" id="050e1f61-efb4-4bb3-a698-58cde35552ef" type="result">
   <query xmlns="jabber:iq:register">
      <instructions>Choose a username and password for use with this service.</instructions>
      <username />
      <password />
      <email />
      <x xmlns="jabber:x:data" type="form">
         <title>Creating a new account</title>
         <instructions>Choose a username and password for use with this service. Also supply your E-Mail address for verification.</instructions>
         <field var="username" label="Username" type="text-single">
            <required />
         </field>
         <field var="password" label="Password" type="text-private">
            <required />
         </field>
         <field var="email" label="Email" type="text-single" />
         <field type="fixed">
            <value>By registering you implicitly accept our terms of service: https://lightwitch.org/im-service/tos</value>
         </field>
      </x>
   </query>
</iq>