removing comment which doesn't add additional context/information
This commit is contained in:
parent
46c338934e
commit
6672ab3966
|
@ -44,7 +44,6 @@ internal class DefaultAddPusherTask @Inject constructor(
|
||||||
} catch (error: Throwable) {
|
} catch (error: Throwable) {
|
||||||
monarchy.awaitTransaction { realm ->
|
monarchy.awaitTransaction { realm ->
|
||||||
PusherEntity.where(realm, pusher.pushKey).findFirst()?.let {
|
PusherEntity.where(realm, pusher.pushKey).findFirst()?.let {
|
||||||
// update it
|
|
||||||
it.state = PusherState.FAILED_TO_REGISTER
|
it.state = PusherState.FAILED_TO_REGISTER
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -59,7 +58,6 @@ internal class DefaultAddPusherTask @Inject constructor(
|
||||||
monarchy.awaitTransaction { realm ->
|
monarchy.awaitTransaction { realm ->
|
||||||
val echo = PusherEntity.where(realm, pusher.pushKey).findFirst()
|
val echo = PusherEntity.where(realm, pusher.pushKey).findFirst()
|
||||||
if (echo != null) {
|
if (echo != null) {
|
||||||
// update it
|
|
||||||
echo.appDisplayName = pusher.appDisplayName
|
echo.appDisplayName = pusher.appDisplayName
|
||||||
echo.appId = pusher.appId
|
echo.appId = pusher.appId
|
||||||
echo.kind = pusher.kind
|
echo.kind = pusher.kind
|
||||||
|
|
Loading…
Reference in New Issue