Skip to content

Remove de.gematik.tim.room.name and de.gematik.tim.room.topic in a future version #272

@nico-famedly

Description

@nico-famedly

The state events de.gematik.tim.room.name and de.gematik.tim.room.topic described in https://gemspec.gematik.de/docs/gemSpec/gemSpec_TI-Messenger-Client/gemSpec_TI-Messenger-Client_V1.1.2/#5.4.18 currently are just exact copies of m.room.name and m.room.topic. Currently they don't seem to provide any additional value for TIM clients or servers, however they complicate implementing the spec a lot since they have additional requirements (like requiring m.room.name to be empty) and don't integrate with existing parts of the Matrix specification (shortcuts to specify a room name during room creation, displaying a name for spaces or public rooms using their respective APIs, etc). It also complicates integration with Matrix based solutions since SDKs and clients need to be modified to be compatible on basic features like room names and topics.

Considering that my suggestion would be to remove them from the TIM specification (with an appropriate migration path possibly?). This should simplify developing TIM compliant solutions going forward. I think the idea behind them was to allow encrypting them in the future, however that would already be a breaking change and such custom event types could just be introduced at that point. Alternatively if the idea behind them was extensibility by adding custom fields, that can be more easily served by adding such custom fields in a namespaced manner to existing event types.

Possibly there is a different reason for these events, that I am unaware of however. If such a reason exists, it might be a good idea to document it on this issue and then close it to serve as a future reference.

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