Skip to content

Commit 3d8cad1

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

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

devtools/deployments/opencloud_full/stalwart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
- ${STALWART_DOMAIN:-stalwart.opencloud.test}
88

99
stalwart:
10-
image: ghcr.io/stalwartlabs/stalwart:v0.14.1-alpine
10+
image: ghcr.io/stalwartlabs/stalwart:v0.15.0-alpine
1111
hostname: ${STALWART_DOMAIN:-stalwart.opencloud.test}
1212
networks:
1313
- opencloud-net

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 = `

pkg/jscontact/jscontact_model.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ const (
587587

588588
// PhoneFeatures.
589589

590-
PhoneFeatureMobile = PhoneFeature("cell") // TODO the spec says 'mobile', but Stalwart only supports 'cell'
590+
PhoneFeatureMobile = PhoneFeature("mobile")
591591
PhoneFeatureVoice = PhoneFeature("voice")
592592
PhoneFeatureText = PhoneFeature("text")
593593
PhoneFeatureVideo = PhoneFeature("video")

0 commit comments

Comments
 (0)