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:
parent
960c94d4eb
commit
fea14c2d41
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue