Is there anyway to prevent pubsub from sending the last published item on a successful subscription? I am running Ejabberd 2.1.3 using the hometree_odbc pubsub module. Thanks!
Dave
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
Is there anyway to prevent pubsub from sending the last published item on a successful subscription? I am running Ejabberd 2.1.3 using the hometree_odbc pubsub module. Thanks!
Dave
Maybe there is something
Maybe there is something defined in XEP-0060, and implemented in mod_pubsub.
Hmm I think I found the
Hmm I think I found the issue.
When creating the nodes, the pubsub#send_last_published_item setting is set to 'never' but in the table pubsub_node_option, the send_last_published_item value is 'on_sub_and_presence'. I will test more.
The configuration form sent when creating the node has this
<field var='pubsub#send_last_published_item'><value>never</value></field>
, is that correct?See the XEP
The configuration form sent when creating the node has this
<field var='pubsub#send_last_published_item'><value>never</value></field>
, is that correct?Seems correct, according to the examplehttp://xmpp.org/extensions/xep-0060.html#example-136
See also the possible values inhttp://xmpp.org/extensions/xep-0060.html#example-139