jdev - 2023-03-08


  1. masum.nishat21

    In xep-0060 sec 4.3 table 4 it says, "Publish request MUST include an <item/> element, which MAY be empty or MAY contain a payload; even if publish request contains a payload, pubsub service MUST NOT include the payload in event notifications; if publish request did not include item ID, pubsub service MUST generate item ID". My question is that, if pubsub service MUST NOT include the payload in event notifications than how an <item/> element, MAY contain a payload?

  2. MattJ

    masum.nishat21: I'm not 100% sure I understand your question, but: the payload may be stored (and later retrieved), even if it is not included in the notification

  3. masum.nishat21

    MattJ: got it. Thanks for the easy, simple and quick lesson.