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:
parent
5b09cdc264
commit
6ef68a8f4e
1 changed files with 3 additions and 1 deletions
|
@ -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 << ", ";
|
||||
|
||||
|
|
Loading…
Reference in a new issue