element-hq / element-hq/hydrogen-web

Create DM when sending first message

Open
#986 0 comments 0 reactions 0 assignees View on GitHub
feature fun hacking
Dominant language
TypeScript
Stars
714
Forks
131
PR merge metrics
No merged PRs in 30d

Description

- Use RoomBeingCreated for this (and rename it to something better representing the new usecase)
- Store these messages with the temp room id in pendingEvents store (without trying to send it though in SendQueue ...)
- Move these messages to the room id when the room is created.
- If cancelling the creation of the room, remove the pending messages if any
- Add an openTimeline method to RoomBeingCreated that just gives a timeline with the pending events.
- Implement UI for this, reusing timelineview(model) and composerview(model)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.