Skip to content

Commit

Permalink
Fix error notification shown onNewEndpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
p1gp1g authored and valldrac committed Mar 27, 2023
1 parent ab26470 commit fba503a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ class UnifiedPushReceiver : MessagingReceiver() {
EXECUTOR.enqueue {
MollySocketRequest.registerToMollySocketServer().saveStatus()
EventBus.getDefault().post(UnifiedPushRegistrationEvent)
UnifiedPushNotificationBuilder(context).setNotificationEndpointChangedError()
if (SignalStore.unifiedpush().status != UnifiedPushStatus.OK)
UnifiedPushNotificationBuilder(context).setNotificationEndpointChangedError()
}
}
in listOf(
Expand Down

0 comments on commit fba503a

Please sign in to comment.