Skip to content

[BUG] Duplicate notifications to new client before restart #194

@Yukigamine

Description

@Yukigamine

Describe the bug
After adding a new client, push notifications to that client are duplicated until the igotify assistant container is restarted. After a restart, the new client only gets one push notification as normal.

Expected behavior
I expect the system to process a new client and then only send one copy of each notification to the device rather than two.

Screenshots
Container logs:
Image

Container database:
Image

Smartphone (please complete the following information):

  • Device: iPhone 15 Pro Max
  • OS: iOS 26.1
  • Version of Container: 1.5.0.1
  • Version of iGotify: 1.5.4 (41)

Additional context
Saw this issue was related to #84 and did some digging.

Removing the instance in the app and re-adding did not work, nor did uninstalling and reinstalling the app.

When I looked in the logs and saw that the client only seemed to register once, but the application responded twice, I checked the database and confirmed that only one entry for this client existed.

So I tried restarting the container, and after the restart, I only get one notification on the newly added client.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions