Skip to content

Multi-instance conversation #28

@juniorz

Description

@juniorz

From the plugin perspective, something like this should be possible:

  1. Alice (on device 1101) has an OTR conversation with Bob (on device 1201).
  2. Bob (on device 1202) starts a new OTR conversation with Alice (still on device 1101).
  3. Alice should have both conversations running simultaneously, and should be able to receive and send messages to both conversations.

libotr keeps a separate context for each of these conversations and automatically manages when to add new contexts when a new instance tag is seen.

When a message is sent, you may choose to send it to a particular instance tag or tell the library which strategy to use when deciding which instance should receive the message (OTRL_INSTAG_BEST, OTRL_INSTAG_RECENT, OTRL_INSTAG_RECENT_RECEIVED, OTRL_INSTAG_RECENT_SENT).

At the moment, we only support a single conversation with a peer (identified by its ID, like alice@tw.com).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions