mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
modules/client/sync/rooms/state: Send the room creators member event on phase 0.
This commit is contained in:
parent
d1ecaf5ffb
commit
8f2495893b
1 changed files with 7 additions and 1 deletions
|
@ -264,8 +264,14 @@ ircd::m::sync::room_state_phased_events(data &data)
|
|||
data.room->get(std::nothrow, "m.room.create", "", [&]
|
||||
(const m::event &event)
|
||||
{
|
||||
room_state_append(data, array, event, index(event));
|
||||
ret = true;
|
||||
room_state_append(data, array, event, index(event));
|
||||
|
||||
data.room->get(std::nothrow, "m.room.member", at<"sender"_>(event), [&]
|
||||
(const m::event &event)
|
||||
{
|
||||
room_state_append(data, array, event, index(event));
|
||||
});
|
||||
});
|
||||
|
||||
data.room->get(std::nothrow, "m.room.canonical_alias", "", [&]
|
||||
|
|
Loading…
Reference in a new issue