0
0
Fork 0
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:
Jason Volk 2018-05-05 23:00:51 -07:00
parent 1059688d02
commit e80c8e6f65

View file

@ -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