Skip to content

Add support for forwarded messages #16

@Kaffeine

Description

@Kaffeine

Add a new message header keys:

  • forward-from (u - Contact_Handle) The contact who sent the original message. If 0 or omitted, the contact who sent the message could not be determined.
  • forward-from-id (s) The identifier of the contact who sent the original message, i.e. the result of calling InspectHandles on forward-from. If omitted, clients MUST fall back to looking at forward-from.
  • forward-sent-timestamp (x - Unix_Timestamp64) The time the original message was sent.
  • forward-received-timestamp (x - Unix_Timestamp64) The time the original message was received.

Maybe some protocols provide information about the original channel. E.g.: Message "Hello" is forwarded from Juliet in the public chat "Montecchi's veranda", but IMO it is OK to miss such capability for now. :)

Extra keys:

  • forward-message-token (s) An opaque identifier of the original message, as used by the underlying protocol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions