From 964e1cef850678590ce833c7c476dfc913f8dcb0 Mon Sep 17 00:00:00 2001 From: Till Faelligen Date: Wed, 4 May 2022 17:57:29 +0200 Subject: [PATCH] Remove noise --- roomserver/storage/postgres/membership_table.go | 1 - roomserver/storage/sqlite3/membership_table.go | 1 - 2 files changed, 2 deletions(-) diff --git a/roomserver/storage/postgres/membership_table.go b/roomserver/storage/postgres/membership_table.go index b790dac79..6ed5293e4 100644 --- a/roomserver/storage/postgres/membership_table.go +++ b/roomserver/storage/postgres/membership_table.go @@ -293,7 +293,6 @@ func (s *membershipStatements) SelectRoomsWithMembership( ) ([]types.RoomNID, error) { stmt := sqlutil.TxStmt(txn, s.selectRoomsWithMembershipStmt) rows, err := stmt.QueryContext(ctx, membershipState, userID) - if err != nil { return nil, err } diff --git a/roomserver/storage/sqlite3/membership_table.go b/roomserver/storage/sqlite3/membership_table.go index 1a111087d..7ed86b612 100644 --- a/roomserver/storage/sqlite3/membership_table.go +++ b/roomserver/storage/sqlite3/membership_table.go @@ -270,7 +270,6 @@ func (s *membershipStatements) SelectRoomsWithMembership( ) ([]types.RoomNID, error) { stmt := sqlutil.TxStmt(txn, s.selectRoomsWithMembershipStmt) rows, err := stmt.QueryContext(ctx, membershipState, userID) - if err != nil { return nil, err }