mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:05:28 +00:00
Add quick fix in notification troubleshot test to perform a Firebase token rotation
This commit is contained in:
committed by
Benoit Marty
parent
4aa1afec5a
commit
6bde224695
+6
@@ -44,4 +44,10 @@ interface PushProvider {
|
||||
suspend fun unregister(matrixClient: MatrixClient): Result<Unit>
|
||||
|
||||
suspend fun getCurrentUserPushConfig(): CurrentUserPushConfig?
|
||||
|
||||
fun canRotateToken(): Boolean
|
||||
|
||||
suspend fun rotateToken(): Result<Unit> {
|
||||
error("rotateToken() not implemented, you need to override this method in your implementation")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user