aboutsummaryrefslogtreecommitdiff
path: root/syncapi/storage/shared/storage_consumer.go
diff options
context:
space:
mode:
authorTill <2353100+S7evinK@users.noreply.github.com>2023-09-28 14:50:31 +0200
committerGitHub <noreply@github.com>2023-09-28 14:50:31 +0200
commit3d02c8103152fbb9a5401a091ef0f681a32bfeee (patch)
treebbb482679246990721742ce7f55810fe06b7a774 /syncapi/storage/shared/storage_consumer.go
parent1853f58cb492c423641636562c6aa6eb701426a2 (diff)
Fix tests for x86 (#3214)
Diffstat (limited to 'syncapi/storage/shared/storage_consumer.go')
-rw-r--r--syncapi/storage/shared/storage_consumer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/storage/shared/storage_consumer.go b/syncapi/storage/shared/storage_consumer.go
index 0f4080d5..923ead9b 100644
--- a/syncapi/storage/shared/storage_consumer.go
+++ b/syncapi/storage/shared/storage_consumer.go
@@ -583,7 +583,7 @@ func (d *Database) GetPresences(ctx context.Context, userIDs []string) ([]*types
return d.Presence.GetPresenceForUsers(ctx, nil, userIDs)
}
-func (d *Database) SelectMembershipForUser(ctx context.Context, roomID, userID string, pos int64) (membership string, topologicalPos int, err error) {
+func (d *Database) SelectMembershipForUser(ctx context.Context, roomID, userID string, pos int64) (membership string, topologicalPos int64, err error) {
return d.Memberships.SelectMembershipForUser(ctx, nil, roomID, userID, pos)
}