mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 15:03:09 -06:00
address review comments
This commit is contained in:
parent
635bc39102
commit
acde492729
|
|
@ -855,7 +855,7 @@ func (r *Queryer) QueryRoomsForUser(ctx context.Context, userID spec.UserID, des
|
||||||
for i, roomIDStr := range roomIDStrs {
|
for i, roomIDStr := range roomIDStrs {
|
||||||
roomID, err := spec.NewRoomID(roomIDStr)
|
roomID, err := spec.NewRoomID(roomIDStr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil
|
return nil, err
|
||||||
}
|
}
|
||||||
roomIDs[i] = *roomID
|
roomIDs[i] = *roomID
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue