Skip to content

Commit a9ef8f3

Browse files
committed
groupware: update to Stalwart 0.15.0
1 parent 790a241 commit a9ef8f3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/jmap/jmap_api_calendar.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (j *Client) QueryCalendarEvents(accountIds []string, session *Session, ctx
5454
uniqueAccountIds := structs.Uniq(accountIds)
5555

5656
if sortBy == nil {
57-
sortBy = []CalendarEventComparator{{Property: CalendarEventPropertyUpdated, IsAscending: false}}
57+
sortBy = []CalendarEventComparator{{Property: CalendarEventPropertyStart, IsAscending: false}}
5858
}
5959

6060
invocations := make([]Invocation, len(uniqueAccountIds)*2)

pkg/jmap/jmap_integration_event_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func TestEvents(t *testing.T) {
5050
InCalendar: calendarId,
5151
}
5252
sortBy := []CalendarEventComparator{
53-
{Property: CalendarEventPropertyCreated, IsAscending: true},
53+
{Property: CalendarEventPropertyStart, IsAscending: true},
5454
}
5555

5656
contactsByAccount, _, _, _, err := s.client.QueryCalendarEvents([]string{accountId}, session, t.Context(), s.logger, "", filter, sortBy, 0, 0)

pkg/jmap/jmap_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ var (
7979
)
8080

8181
const (
82-
stalwartImage = "ghcr.io/stalwartlabs/stalwart:v0.14.1-alpine"
82+
stalwartImage = "ghcr.io/stalwartlabs/stalwart:v0.15.0-alpine"
8383
httpPort = "8080"
8484
imapsPort = "993"
8585
configTemplate = `

0 commit comments

Comments
 (0)