2

“presence_based_delivery”在 openfire 上根本不起作用,或者我错过了什么?订阅者必须填写“订阅选项”吗?

这就是我所做的:

  1. 节点配置

    "pubsub#presence_based_delivery" = 1 
    "pubsub#deliver_payloads" = 1
    "pubsub#persist_items" = 1
    "pubsub#max_items" = -1 (for infinite number of items)
    
  2. User1 订阅 NodeA 并下线。

  3. 订阅 NodeA 的 User2 向其发布项目。
  4. User1 上线但未收到任何已发布项目的通知。
4

1 回答 1

0

根据扩展的文档,如果用户离线,presence_based 交付不会向用户发送事件:http: //xmpp.org/extensions/xep-0060.html#impl-offline

于 2015-03-15T16:54:19.807 回答