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:
parent
fc4148d874
commit
8f4def84f4
1 changed files with 0 additions and 7 deletions
|
@ -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[]
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue