0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

modules/client/rooms/invite: Remove unnecessary check.

This commit is contained in:
Jason Volk 2019-09-16 13:33:35 -07:00
parent fc4148d874
commit 8f4def84f4

View file

@ -64,13 +64,6 @@ ircd::m::invite(const m::room &room,
const m::user::id &sender,
json::iov &content)
{
if(!exists(room))
throw m::NOT_FOUND
{
"Not aware of room %s",
string_view{room.room_id}
};
json::iov event;
const json::iov::push push[]
{