From cf12410d393020454c7e583685218d3a8bec26cc Mon Sep 17 00:00:00 2001 From: Daniel Aloni Date: Tue, 11 Apr 2023 14:50:00 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=9A=20Use=20go=20install=20for=20compleme?= =?UTF-8?q?nt=20dependencies=20+=20another=20ms=20update.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dendrite.yml | 2 +- syncapi/storage/postgres/multiroomcast_table.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dendrite.yml b/.github/workflows/dendrite.yml index fa8fcfdaa..da24d7bc6 100644 --- a/.github/workflows/dendrite.yml +++ b/.github/workflows/dendrite.yml @@ -377,7 +377,7 @@ jobs: # See https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md specifically GOROOT_1_17_X64 run: | sudo apt-get update && sudo apt-get install -y libolm3 libolm-dev - go get -v github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest + go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest - name: Run actions/checkout@v3 for dendrite uses: actions/checkout@v3 with: diff --git a/syncapi/storage/postgres/multiroomcast_table.go b/syncapi/storage/postgres/multiroomcast_table.go index 7c819433d..cc07cdda6 100644 --- a/syncapi/storage/postgres/multiroomcast_table.go +++ b/syncapi/storage/postgres/multiroomcast_table.go @@ -51,7 +51,7 @@ func (s *multiRoomStatements) SelectMultiRoomData(ctx context.Context, r *types. for rows.Next() { r := types.MultiRoomDataRow{} err = rows.Scan(&r.UserId, &r.Type, &r.Data, &t) - r.Timestamp = t.Unix() + r.Timestamp = t.UnixMilli() if err != nil { return nil, fmt.Errorf("rows scan: %w", err) }