stakwork/sphinx-kotlin-ui

Windows notifications appear for messages YOU send

Closed this issue · 4 comments

Task

As per the image below, a user reported that the messages he sent were appearing as notifications:

Image

In the image, the user sent those message TO those users but he received the notifications

@tomsmith8 the logic to show the notification is inside the method of SphinxRepository:

https://github.com/stakwork/sphinx-kotlin-core/blob/213ff9ac2163b10d0510ac7d371187327f08125d/src/jvmMain/kotlin/chat/sphinx/features/repository/SphinxRepository.kt#L330

There a check needs to be added to avoid sending notification if it's a sent message instead of a received message

I can help fix this if it hasn't been fixed yet!

@okhot any updates with this?

This is now fixed