mirror of
https://github.com/matrix-construct/construct
synced 2025-02-27 22:20:15 +01:00
ircd:Ⓜ️:presence: Set the currently_active flag in convenience composer.
This commit is contained in:
parent
45a435d8f9
commit
f7796b6c3e
1 changed files with 4 additions and 3 deletions
|
@ -1833,6 +1833,7 @@ ircd::m::presence::set(const user &user,
|
||||||
{ "user_id", user.user_id },
|
{ "user_id", user.user_id },
|
||||||
{ "presence", presence },
|
{ "presence", presence },
|
||||||
{ "status_msg", status_msg },
|
{ "status_msg", status_msg },
|
||||||
|
{ "currently_active", presence == "online" },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue