okTurtles / group-income

A decentralized and private (end-to-end encrypted) financial safety net for you and your friends.
https://groupincome.org
GNU Affero General Public License v3.0
331 stars 44 forks source link

Notifications displayed when someone sends you a DM while you have the DM open #2392

Closed taoeffect closed 3 weeks ago

taoeffect commented 4 weeks ago

Problem

So when using the ssh -R 80:localhost:8000 nokey@localhost.run tunnel with grunt dev to test on mobile, I opened up a DM with myself from Desktop to Mobile, and any time I sent a DM to the phone while I had the phone open and showing the DM page, I would get a notification and the phone would buzz:

tmp-1729712704525

Solution

We already have code not to make a sound when the DM is active. We should likewise not post a notification in this instance.