Skip to content

bridgev2: Add way to process backfilled edits #293

@purpshell

Description

@purpshell

The situation

As of v0.21.0, the bridge is unable to handle message edits that happened in the past. Edits are not supposed to be in the message table. The network connector is unable to differentiate between a normal message and edit, which leaves all messages, edits and original in the table.

Suggested Solution

The current suggested solution is to process edits differently in FetchMessagesResponse. By adding a Edits property, and putting all edits in there, the network connector can drop "legacy"/non-infinite backfill messages containing edits without impacting the database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions