mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 01:30:12 +01:00
modules/client/directory/list: Use local rooms::summary::set() overload.
This commit is contained in:
parent
9eae6be223
commit
f8e3030819
2 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ put__list_appservice(client &client,
|
|||
case "public"_:
|
||||
// We set an empty summary for this room because
|
||||
// we already have its state on this server;
|
||||
m::rooms::summary::set(room.room_id, json::object{});
|
||||
m::rooms::summary::set(room.room_id);
|
||||
break;
|
||||
|
||||
case "private"_:
|
||||
|
|
|
@ -98,7 +98,7 @@ put__list_room(client &client,
|
|||
case "public"_:
|
||||
// We set an empty summary for this room because
|
||||
// we already have its state on this server;
|
||||
m::rooms::summary::set(room.room_id, json::object{});
|
||||
m::rooms::summary::set(room.room_id);
|
||||
break;
|
||||
|
||||
case "private"_:
|
||||
|
|
Loading…
Add table
Reference in a new issue