Protect call to getNotificationItem
This commit is contained in:
parent
9fe42691ea
commit
7ff72d480c
4 changed files with 19 additions and 12 deletions
|
|
@ -17,5 +17,5 @@
|
|||
package io.element.android.libraries.matrix.api.notification
|
||||
|
||||
interface NotificationService {
|
||||
fun getNotification(userId: String, roomId: String, eventId: String): NotificationData?
|
||||
suspend fun getNotification(userId: String, roomId: String, eventId: String): Result<NotificationData?>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue