0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-29 08:54:02 +01:00

modules/m_typing: Promote the typing log facility.

This commit is contained in:
Jason Volk 2018-04-12 15:15:03 -07:00
parent a8b143d6c2
commit 9a6dbca127

View file

@ -67,9 +67,9 @@ _handle_edu_m_typing(const m::event &event,
return; return;
} }
log::debug log::info
{ {
"%s | %s %s typing in %s", "%s %s %s typing in %s",
at<"origin"_>(event), at<"origin"_>(event),
string_view{user_id}, string_view{user_id},
json::get<"typing"_>(edu)? "started"_sv : "stopped"_sv, json::get<"typing"_>(edu)? "started"_sv : "stopped"_sv,