mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd:Ⓜ️ Consistent usage of object::size() rather than object::count().
This commit is contained in:
parent
1059688d02
commit
e80c8e6f65
1 changed files with 2 additions and 2 deletions
|
@ -2083,8 +2083,8 @@ ircd::m::send(const room &room,
|
|||
const json::object &contents)
|
||||
{
|
||||
json::iov _content;
|
||||
json::iov::push content[contents.count()];
|
||||
return send(room, sender, type, make_iov(_content, content, contents.count(), contents));
|
||||
json::iov::push content[contents.size()];
|
||||
return send(room, sender, type, make_iov(_content, content, contents.size(), contents));
|
||||
}
|
||||
|
||||
ircd::m::event::id::buf
|
||||
|
|
Loading…
Reference in a new issue