0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-19 00:10:59 +01:00

modules/console: Fix user room presence query event type.

This commit is contained in:
Jason Volk 2018-05-29 12:53:28 -07:00
parent 960c94d4eb
commit fea14c2d41

View file

@ -4607,7 +4607,7 @@ console_cmd__user__presence(opt &out, const string_view &line)
};
const m::user::room user_room{user};
user_room.for_each("m.presence", m::event::closure_bool{[&out, &limit]
user_room.for_each("ircd.presence", m::event::closure_bool{[&out, &limit]
(const m::event &event)
{
out << timestr(at<"origin_server_ts"_>(event) / 1000)