mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-02 22:22:46 +00:00
Clear a whole bunch of lint issues
This commit is contained in:
parent
ff65f0ec7b
commit
2ccd4fa069
7 changed files with 20 additions and 26 deletions
|
@ -178,7 +178,7 @@ func (s *peekStatements) SelectPeekingDevices(
|
|||
return nil, err
|
||||
}
|
||||
devices := result[roomID]
|
||||
devices = append(devices, types.PeekingDevice{userID, deviceID})
|
||||
devices = append(devices, types.PeekingDevice{UserID: userID, DeviceID: deviceID})
|
||||
result[roomID] = devices
|
||||
}
|
||||
return result, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue