Merge branch 'main' into feature/dep-updates

This commit is contained in:
Adam Brown 2022-07-11 22:55:03 +01:00 committed by GitHub
commit 9d5ef07f1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -25,7 +25,7 @@ jobs:
- name: Create pip requirements
run: |
echo "matrix-synapse" > requirements.txt
echo "matrix-synapse==v1.60.0" > requirements.txt
- name: Set up Python 3.8
uses: actions/setup-python@v2

View File

@ -70,6 +70,10 @@ class NotificationFactory(
smallIcon = R.drawable.ic_notification_small_icon,
contentIntent = openAppIntent,
groupId = GROUP_ID,
groupAlertBehavior = deviceMeta.whenPOrHigher(
block = { Notification.GROUP_ALERT_SUMMARY },
fallback = { null }
),
isGroupSummary = true,
)
}

View File

@ -484,8 +484,8 @@ internal sealed class ApiTimelineEvent {
@Serializable
internal data class Info(
@SerialName("h") val height: Int,
@SerialName("w") val width: Int,
@SerialName("h") val height: Int? = null,
@SerialName("w") val width: Int? = null,
)
}