diff options
author | Till <2353100+S7evinK@users.noreply.github.com> | 2023-09-28 14:50:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 14:50:31 +0200 |
commit | 3d02c8103152fbb9a5401a091ef0f681a32bfeee (patch) | |
tree | bbb482679246990721742ce7f55810fe06b7a774 /syncapi/storage/interface.go | |
parent | 1853f58cb492c423641636562c6aa6eb701426a2 (diff) |
Fix tests for x86 (#3214)
Diffstat (limited to 'syncapi/storage/interface.go')
-rw-r--r-- | syncapi/storage/interface.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/storage/interface.go b/syncapi/storage/interface.go index dca5d1a1..97c781b9 100644 --- a/syncapi/storage/interface.go +++ b/syncapi/storage/interface.go @@ -107,7 +107,7 @@ type DatabaseTransaction interface { // SelectMembershipForUser returns the membership of the user before and including the given position. If no membership can be found // returns "leave", the topological position and no error. If an error occurs, other than sql.ErrNoRows, returns that and an empty // string as the membership. - SelectMembershipForUser(ctx context.Context, roomID, userID string, pos int64) (membership string, topologicalPos int, err error) + SelectMembershipForUser(ctx context.Context, roomID, userID string, pos int64) (membership string, topologicalPos int64, err error) // getUserUnreadNotificationCountsForRooms returns the unread notifications for the given rooms GetUserUnreadNotificationCountsForRooms(ctx context.Context, userID string, roomIDs map[string]string) (map[string]*eventutil.NotificationData, error) GetPresences(ctx context.Context, userID []string) ([]*types.PresenceInternal, error) |