Skip to content

Federation: render remote-homed messages and resolve qualified author IDs #159

Description

@krazyjakee

Messages in a federated space may be authored by remote users and/or homed on a remote server (origin set, qualified author ID).

What to do

  • Resolve qualified author IDs to the mirrored remote user profile for the author line/avatar.
  • Optionally show an origin indicator on messages whose origin differs from the space's connected server.
  • Make sure message dedup/ordering keys use the qualified message ID.

Acceptance

  • Remote-authored messages display the correct author identity and avatar.
  • No duplicate or mis-ordered messages when home-authored and replica copies arrive.

Server reference

  • origin on Message: src/models/message.rs; message payload: message_payload in src/federation/outbound.rs.
  • Remote-homed message round-trip: commit 6b478c1.

Client touch points

  • lib/features/messaging/controllers/accord_messages.dart, lib/features/messaging/components/box/accord_message_content.dart.

Server reference — accordserver branch claude/federated-servers-xlydlj.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfederationCross-server (peer-to-peer) federation

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions