mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +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)
|
const json::object &contents)
|
||||||
{
|
{
|
||||||
json::iov _content;
|
json::iov _content;
|
||||||
json::iov::push content[contents.count()];
|
json::iov::push content[contents.size()];
|
||||||
return send(room, sender, type, make_iov(_content, content, contents.count(), contents));
|
return send(room, sender, type, make_iov(_content, content, contents.size(), contents));
|
||||||
}
|
}
|
||||||
|
|
||||||
ircd::m::event::id::buf
|
ircd::m::event::id::buf
|
||||||
|
|
Loading…
Reference in a new issue