0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-14 00:34:18 +01:00

modules/console: Add device_id to user tokens list cmd.

This commit is contained in:
Jason Volk 2020-04-01 17:32:12 -07:00
parent d052249573
commit 08525e95d0

View file

@ -11581,14 +11581,21 @@ console_cmd__user__tokens(opt &out, const string_view &line)
m::event_id(std::nothrow, event_idx)
};
const auto device_id
{
m::user::tokens::device(token)
};
out
<< token
<< " "
<< device_id
<< " "
<< ost
<< " "
<< pretty(now - ost) << " ago"
<< " "
<< string_view{event_id}
<< " "
<< pretty(now - ost) << " ago"
<< std::endl;
return true;
});