mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 14:31:11 +01:00
ircd:Ⓜ️:createroom: Add empty arrays on create event for spinapps.
This commit is contained in:
parent
74b07825aa
commit
1adccbecac
1 changed files with 3 additions and 1 deletions
|
@ -427,8 +427,10 @@ ircd::m::_create_event(const createroom &c)
|
|||
make_iov(content, _user_content, user_content_count, user_content);
|
||||
const json::iov::push push[]
|
||||
{
|
||||
{ event, { "room_id", room.room_id }},
|
||||
{ event, { "auth_events", "[]" }},
|
||||
{ event, { "depth", 0L }},
|
||||
{ event, { "prev_events", "[]" }},
|
||||
{ event, { "room_id", room.room_id }},
|
||||
{ event, { "sender", creator }},
|
||||
{ event, { "state_key", "" }},
|
||||
{ event, { "type", "m.room.create" }},
|
||||
|
|
Loading…
Reference in a new issue