0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-27 11:18:51 +02:00

ircd:Ⓜ️ Show content bytes in pretty(event).

This commit is contained in:
Jason Volk 2018-04-17 02:51:44 -07:00
parent 5b09cdc264
commit 6ef68a8f4e

View file

@ -322,7 +322,9 @@ ircd::m::pretty(const event &event)
const json::object &contents{json::get<"content"_>(event)};
if(!contents.empty())
{
s << std::setw(16) << std::right << "[content]" << " :";
s << std::setw(16) << std::right << "[content]" << " :"
<< "+ " << size(contents) << " bytes :";
for(const auto &content : contents)
s << content.first << ", ";