mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 03:03:10 -06:00
Don't send invite pokes in PerformInvite
This commit is contained in:
parent
b233d01749
commit
7822a3e9fc
|
|
@ -222,17 +222,9 @@ func (r *Inviter) PerformInvite(
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify the sync api of this event in the same way as a federated invite so the invitee
|
// Don't notify the sync api of this event in the same way as a federated invite so the invitee
|
||||||
// gets the invite.
|
// gets the invite, as the roomserver will do this when it processes the m.room.member invite.
|
||||||
return []api.OutputEvent{
|
return nil, nil
|
||||||
{
|
|
||||||
Type: api.OutputTypeNewInviteEvent,
|
|
||||||
NewInviteEvent: &api.OutputNewInviteEvent{
|
|
||||||
Event: event.Headered(req.RoomVersion),
|
|
||||||
RoomVersion: req.RoomVersion,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}, nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func buildInviteStrippedState(
|
func buildInviteStrippedState(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue