Problem on publishing OMEMO device list (#5)
Bartosz Małkowski opened 5 years ago

Beagle is not able to publis device list:

<iq type='error' to='bartosz.malkowski@tigase.org/1953734496-tigase-7' id='8680590D-6B77-4410-89A2-3E6BBE1117A1' from='bartosz.malkowski@tigase.org' xmlns='jabber:client'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<publish node='eu.siacs.conversations.axolotl.devicelist'>
<item id='current'>
<list xmlns='eu.siacs.conversations.axolotl'>
<device id='1810744316'/>
<device id='812230292'/>
</list>
</item>
</publish>
<publish-options>
<x type='submit' xmlns='jabber:x:data'>
<field var='pubsub#access_model' type='text-single'>
<value>open</value>
</field>
</x>
</publish-options>
</pubsub>
<error type='cancel' code='409'>
<conflict xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</iq>

Here is configuration of node:

<iq from='bartosz.malkowski@tigase.org' id='config1' xmlns='jabber:client' to='bartosz.malkowski@tigase.org/1953734496-tigase-7' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<configure node='eu.siacs.conversations.axolotl.devicelist'>
<x type='form' xmlns='jabber:x:data'>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/pubsub#node_config</value>
</field>
<field type='list-single' var='pubsub#node_type'>
<value>leaf</value>
<option>
<value>leaf</value>
</option>
<option>
<value>collection</value>
</option>
</field>
<field type='text-single' label='A friendly name for the node' var='pubsub#title'/>
<field type='boolean' label='Whether to deliver payloads with event notifications' var='pubsub#deliver_payloads'>
<value>1</value>
</field>
<field var='pubsub#notify_config' type='boolean' label='Notify subscribers when the node configuration changes'>
<value>0</value>
</field>
<field type='boolean' var='pubsub#persist_items' label='Persist items to storage'>
<value>1</value>
</field>
<field var='pubsub#max_items' type='text-single' label='Max # of items to persist'>
<value>10</value>
</field>
<field type='text-single' var='pubsub#collection' label='The collection with which a node is affiliated'/>
<field var='pubsub#access_model' label='Specify the subscriber model' type='list-single'>
<value>presence</value>
<option>
<value>authorize</value>
</option>
<option>
<value>open</value>
</option>
<option>
<value>presence</value>
</option>
<option>
<value>roster</value>
</option>
<option>
<value>whitelist</value>
</option>
</field>
<field var='pubsub#publish_model' type='list-single' label='Specify the publisher model'>
<value>publishers</value>
<option>
<value>open</value>
</option>
<option>
<value>publishers</value>
</option>
<option>
<value>subscribers</value>
</option>
</field>
<field label='When to send the last published item' type='list-single' var='pubsub#send_last_published_item'>
<value>on_sub_and_presence</value>
<option>
<value>never</value>
</option>
<option>
<value>on_sub</value>
</option>
<option>
<value>on_sub_and_presence</value>
</option>
</field>
<field type='text-multi' label='The domains allowed to access this node (blank for any)' var='pubsub#domains'/>
<field type='boolean' var='pubsub#presence_based_delivery' label='Whether to deliver notifications to available users only'>
<value>1</value>
</field>
<field type='boolean' var='tigase#presence_expired' label='Whether to subscription expired when subscriber going offline.'>
<value>0</value>
</field>
<field type='text-multi' label='The XSL transformation which can be applied to payloads in order to generate an appropriate message body element.' var='pubsub#embedded_body_xslt'/>
<field type='text-single' label='The URL of an XSL transformation which can be applied to payloads in order to generate an appropriate message body element.' var='pubsub#body_xslt'/>
<field label='Roster groups allowed to subscribe' var='pubsub#roster_groups_allowed' type='text-multi'/>
<field type='boolean' var='pubsub#notify_sub_aff_state' label='Notify subscribers when owner change their subscription or affiliation state'>
<value>1</value>
</field>
<field type='boolean' label='Allows get list of subscribers for each sybscriber' var='tigase#allow_view_subscribers'>
<value>0</value>
</field>
<field var='tigase#collection_items_odering' type='list-single' label='Whether to sort collection items by creation date or update time'>
<value>byUpdateDate</value>
<option>
<value>byCreationDate</value>
</option>
<option>
<value>byUpdateDate</value>
</option>
</field>
</x>
</configure>
</pubsub>
</iq>
Bartosz Małkowski commented 5 years ago

It seems, reconfiguring node works fine.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Spent time
1h 15m
Issue Votes (0)
Watchers (0)
Reference
tigase/_libraries/MartinOMEMO#5
Please wait...
Page is in error, reload to recover