[ejabberd] pubsub item not delivered if subscriber offline

Liam ejabberd at networkimprov.net
Tue Jan 26 23:35:32 MSK 2010


Using 2.1.1 on WinXP...

Publishing to a node configured as follows, the subscriber gets the item if
online, but if offline doesn't get the item on next login. Shouldn't the
item go to the user's offline queue?

Subscriber creates and subscribes to the node:

<iq from='me at localhost/reprev' to='pubsub.localhost'
     type='set' id='8776' xmlns='jabber:client'>
   <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     <create node='me'/>
     <configure><x xmlns='jabber:x:data' type='submit'>
       <field var='FORM_TYPE' type='hidden'><value>
http://jabber.org/protocol/pubsub#node_config</value></field>
       <field var='pubsub#notify_retract'><value>0</value></field>
       <field var='pubsub#persist_items'><value>0</value></field>
       <field var='pubsub#publish_model'><value>open</value></field>
       <field var='pubsub#access_model'><value>whitelist</value></field>
       <field
var='pubsub#send_last_published_item'><value>never</value></field>
</x></configure></pubsub></iq>

<iq from='me at localhost/reprev' to='pubsub.localhost'
     type='set' id='8777' xmlns='jabber:client'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     <subscribe node='me' jid='me at localhost/reprev'/>
</pubsub></iq>

Relevant config:
  {mod_offline,  []},
  {mod_pubsub,   [ % requires mod_caps
          {access_createnode, pubsub_createnode},
          {ignore_pep_from_offline, true},
          {last_item_cache, false},
          {plugins, ["flat", "hometree", "pep"]}
         ]},
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100126/9505b9dd/attachment.html>


More information about the ejabberd mailing list