0
0
Fork 0
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:
Jason Volk 2019-08-17 02:45:56 -07:00
parent 45a435d8f9
commit f7796b6c3e

View file

@ -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" },
}); });
} }