diff --git a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/filter/RoomEventFilter.kt b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/filter/RoomEventFilter.kt index 6f2de03b90..81e7b672b4 100644 --- a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/filter/RoomEventFilter.kt +++ b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/filter/RoomEventFilter.kt @@ -28,7 +28,7 @@ data class RoomEventFilter( /** * The maximum number of events to return. */ - @Json(name = "limit") var limit: Int? = null, + @Json(name = "limit") val limit: Int? = null, /** * A list of sender IDs to exclude. If this list is absent then no senders are excluded. A matching sender will * be excluded even if it is listed in the 'senders' filter.