Exclude self from g_m_e

This commit is contained in:
Neil Alexander 2022-01-25 16:37:52 +00:00
parent c0af970cc6
commit 6facd320dd
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -137,7 +137,8 @@ func (r *Inputer) processRoomEvent(
}
if len(missingRes.MissingAuthEventIDs) > 0 || len(missingRes.MissingPrevEventIDs) > 0 {
serverReq := &fedapi.QueryJoinedHostServerNamesInRoomRequest{
RoomID: event.RoomID(),
RoomID: event.RoomID(),
ExcludeSelf: true,
}
if err = r.FSAPI.QueryJoinedHostServerNamesInRoom(ctx, serverReq, serverRes); err != nil {
return fmt.Errorf("r.FSAPI.QueryJoinedHostServerNamesInRoom: %w", err)