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 committed Feb 17, 2023
1 parent 7765b7f commit 07b2a1c
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 07b2a1c

Please sign in to comment.