server: Don't print out invites if they are from the state.
This commit is contained in:
parent
e4d83b5cf4
commit
ae5f97ce1d
1 changed files with 3 additions and 0 deletions
|
@ -688,6 +688,9 @@ class MatrixServer:
|
|||
left = True
|
||||
|
||||
elif isinstance(event, RoomMemberInvite):
|
||||
if is_state_event:
|
||||
return
|
||||
|
||||
room_buffer.invite(event.invited_user, date)
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue