mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 20:10:04 +03:00
Fix self-assignment of callback.
This commit is contained in:
parent
b728e10616
commit
e7143b53d5
2 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,8 @@ Build 🧱:
|
||||||
- SDK is now API level 21 minimum, and so RiotX (#405)
|
- SDK is now API level 21 minimum, and so RiotX (#405)
|
||||||
|
|
||||||
Other changes:
|
Other changes:
|
||||||
-
|
- Fix self-assignment of callback in `DefaultRoomPushRuleService#setRoomNotificationState` (#1520)
|
||||||
|
- Random housekeeping clean-ups indicated by Lint (#1520)
|
||||||
|
|
||||||
Changes in RiotX 0.22.0 (2020-06-15)
|
Changes in RiotX 0.22.0 (2020-06-15)
|
||||||
===================================================
|
===================================================
|
||||||
|
|
|
@ -51,7 +51,7 @@ internal class DefaultRoomPushRuleService @AssistedInject constructor(@Assisted
|
||||||
override fun setRoomNotificationState(roomNotificationState: RoomNotificationState, matrixCallback: MatrixCallback<Unit>): Cancelable {
|
override fun setRoomNotificationState(roomNotificationState: RoomNotificationState, matrixCallback: MatrixCallback<Unit>): Cancelable {
|
||||||
return setRoomNotificationStateTask
|
return setRoomNotificationStateTask
|
||||||
.configureWith(SetRoomNotificationStateTask.Params(roomId, roomNotificationState)) {
|
.configureWith(SetRoomNotificationStateTask.Params(roomId, roomNotificationState)) {
|
||||||
this.callback = callback
|
this.callback = matrixCallback
|
||||||
}
|
}
|
||||||
.executeBy(taskExecutor)
|
.executeBy(taskExecutor)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue