mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 03:13:11 -06:00
selectAccountDataByType function modified
This commit is contained in:
parent
7810c30058
commit
579c61a7a3
|
|
@ -122,7 +122,6 @@ func (s *accountDataStatements) selectAccountDataByType(
|
|||
ctx context.Context, localpart, roomID, dataType string,
|
||||
) (data *gomatrixserverlib.ClientEvent, err error) {
|
||||
stmt := s.selectAccountDataByTypeStmt
|
||||
|
||||
var content []byte
|
||||
|
||||
if err = stmt.QueryRowContext(ctx, localpart, roomID, dataType).Scan(&content); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue