Uploaded image for project: 'Smack'
  1. Smack
  2. SMACK-821

Subclass Forwarded: ForwardedMessage, ForwardedIq and ForwardedPresence

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.3.0, 4.2.4
    • Fix Version/s: 4.4.0
    • Component/s: Extensions

      Description

      The XEP-0297 <forwarded/> container support all stanza types. We should subclass Forwarded with  ForwardedMessage, ForwardedIq and ForwardedPresence, where every type has a related getter, e.g. `Message getForwardedMessage()`. This would also increase the robustness of APIs like `List<Message> extractFrom(Collection<Forwarded>)` which would become `List<Message> extractFrom(Collection<ForwardedMesssage>)`.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            flow Florian Schmaus
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: