mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-30 02:01:56 -06:00
Remove noise
This commit is contained in:
parent
2eb3aab07e
commit
964e1cef85
|
@ -293,7 +293,6 @@ func (s *membershipStatements) SelectRoomsWithMembership(
|
||||||
) ([]types.RoomNID, error) {
|
) ([]types.RoomNID, error) {
|
||||||
stmt := sqlutil.TxStmt(txn, s.selectRoomsWithMembershipStmt)
|
stmt := sqlutil.TxStmt(txn, s.selectRoomsWithMembershipStmt)
|
||||||
rows, err := stmt.QueryContext(ctx, membershipState, userID)
|
rows, err := stmt.QueryContext(ctx, membershipState, userID)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
@ -270,7 +270,6 @@ func (s *membershipStatements) SelectRoomsWithMembership(
|
||||||
) ([]types.RoomNID, error) {
|
) ([]types.RoomNID, error) {
|
||||||
stmt := sqlutil.TxStmt(txn, s.selectRoomsWithMembershipStmt)
|
stmt := sqlutil.TxStmt(txn, s.selectRoomsWithMembershipStmt)
|
||||||
rows, err := stmt.QueryContext(ctx, membershipState, userID)
|
rows, err := stmt.QueryContext(ctx, membershipState, userID)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue