Skip to content

Commit

Permalink
Fix order of variables
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Mar 12, 2024
1 parent fee357b commit bcdfa04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ func (user *User) sqlVariables() []any {
device = dbutil.NumPtr(user.JID.Device)
}
return []any{
username, agent, device, user.ManagementRoom, user.SpaceRoom,
user.MXID, username, agent, device, user.ManagementRoom, user.SpaceRoom,
dbutil.UnixPtr(user.PhoneLastSeen), dbutil.UnixPtr(user.PhoneLastPinged),
user.Timezone, user.MXID,
user.Timezone,
}
}

Expand Down

0 comments on commit bcdfa04

Please sign in to comment.