ejabberd development
  1. ejabberd development
  2. EJAB-1198

PEP : extended stanza addressing 'replyto'

    Details

      Description

      According to XEP-0163, «When sending notifications to an entity that has a presence subscription to the account owner, the server SHOULD include an Extended Stanza Addressing [13] "replyto" extension specifying the publishing resource (in this example, "juliet@capulet.lit/balcony"); this enables the subscriber's client to differentiate between information received from each of the account owner's resources (for example, different resources may be in different places and therefore may need to specify distinct geolocation data). However, a server MUST NOT include the "replyto" address when sending a notification to an entity that does not have a presence subscription to the account owner.»

      1. EJAB_1198_mod_pubsub_21.patch
        6 kB
        Karim Gemayel
      2. EJAB_1198_mod_pubsub_21.patch
        7 kB
        Karim Gemayel
      3. EJAB_1198_mod_pubsub_21.patch
        4 kB
        Karim Gemayel
      4. EJAB_1198_mod_pubsub_30.patch
        5 kB
        Karim Gemayel
      5. EJAB_1198_mod_pubsub_30.patch
        5 kB
        Karim Gemayel
      6. EJAB_1198_mod_pubsub_30.patch
        5 kB
        Karim Gemayel

        Activity

        Hide
        Karim Gemayel (Inactive)
        added a comment -

        Patch that implements the extended stanza addressing 'reply' for 2.1.x.
        TODO : write a version for 3.0.

        Show
        Karim Gemayel (Inactive)
        added a comment - Patch that implements the extended stanza addressing 'reply' for 2.1.x. TODO : write a version for 3.0.
        Hide
        Karim Gemayel (Inactive)
        added a comment - - edited

        Patches for 2.1.x and 3.0.

        • implements PEP extended stanza addressing 'replyto' :
          • add a new broadcast_stanza/10 ;
          • modify broadcast_stanza/9 ;
          • replace add_headers/2 by add_shim_headers/2 ;
          • add add_extended_headers/2, add_headers/4 and extended_headers/1.
        • fix SubIDs so that they are not included if there's only one of them (for multicast).
        Show
        Karim Gemayel (Inactive)
        added a comment - - edited Patches for 2.1.x and 3.0. implements PEP extended stanza addressing 'replyto' : add a new broadcast_stanza/10 ; modify broadcast_stanza/9 ; replace add_headers/2 by add_shim_headers/2 ; add add_extended_headers/2 , add_headers/4 and extended_headers/1 . fix SubIDs so that they are not included if there's only one of them (for multicast).
        Hide
        Karim Gemayel (Inactive)
        added a comment -

        Update patch for 3.0.

        Show
        Karim Gemayel (Inactive)
        added a comment - Update patch for 3.0.
        Hide
        Karim Gemayel (Inactive)
        added a comment -

        Patches updated for 2.1.x and 3.0.

        Show
        Karim Gemayel (Inactive)
        added a comment - Patches updated for 2.1.x and 3.0.

          People

          • Assignee:
            Karim Gemayel (Inactive)
            Reporter:
            Karim Gemayel (Inactive)
            Participants:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 7 weeks, 5 days ago

              Issue deployment