✚ Use go install for complement dependencies + another ms update.

This commit is contained in:
Daniel Aloni 2023-04-11 14:50:00 +03:00
parent 941f65d388
commit cf12410d39
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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)
}