mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 16:46:50 +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,
|
const m::user::id &sender,
|
||||||
json::iov &content)
|
json::iov &content)
|
||||||
{
|
{
|
||||||
if(!exists(room))
|
|
||||||
throw m::NOT_FOUND
|
|
||||||
{
|
|
||||||
"Not aware of room %s",
|
|
||||||
string_view{room.room_id}
|
|
||||||
};
|
|
||||||
|
|
||||||
json::iov event;
|
json::iov event;
|
||||||
const json::iov::push push[]
|
const json::iov::push push[]
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue