mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 05:43:09 -06:00
Linting
This commit is contained in:
parent
b0baed82df
commit
21ba63f767
|
|
@ -74,9 +74,7 @@ func (a *CurrentStateInternalAPI) QuerySharedUsers(ctx context.Context, req *api
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
for _, roomID := range req.IncludeRoomIDs {
|
roomIDs = append(roomIDs, req.IncludeRoomIDs...)
|
||||||
roomIDs = append(roomIDs, roomID)
|
|
||||||
}
|
|
||||||
excludeMap := make(map[string]bool)
|
excludeMap := make(map[string]bool)
|
||||||
for _, roomID := range req.ExcludeRoomIDs {
|
for _, roomID := range req.ExcludeRoomIDs {
|
||||||
excludeMap[roomID] = true
|
excludeMap[roomID] = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue