mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
5a8310d5a7
Found when fixing https://github.com/status-im/status-desktop/issues/16639 When a message is deleted, we need to delete the pins too as they are no longer available. This was done using an ON DELETE clause (thanks @osmaczko) I also made sure the SELECT query for the pins doesn't return deleted messages