echo-server
echo-server copied to clipboard
fix: preserve notifications in case when client re-registered with same id
At the moment when the create_client is called all the related to the supplied client.id notifications are deleted from the notifications table.
We can preserve the notification records in this case as this is expected behavior for some clients to re-register instead of creating a "clean" client.