Add quick fix in notification troubleshot test to perform a Firebase token rotation
This commit is contained in:
parent
1f60509d92
commit
a6fdb90838
12 changed files with 243 additions and 33 deletions
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue