vitorpamplona / amethyst

Nostr client for Android
MIT License
1.16k stars 158 forks source link

[FEATURE] Persistent Incognito/Gift Wrapped Messagees #1011

Open crimsonleaf363 opened 2 months ago

crimsonleaf363 commented 2 months ago

Summary

This proposed feature would provide users with the convenience and peace of mind that comes with persistent Incognito/Gift Wrapped messages in chats. By automatically marking new messages as incognito, users will save time, experience less errors, and enhance their privacy during conversations.

Basic example

In the current implementation, a user has to manually toggle each message in a chat thread to mark them as incognito. With the proposed feature, users could simply enable the persistent Incognito/Gift Wrapped messages setting for the chat, and all new messages would be automatically marked as incognito.

Motivation

The current implementation requires users to manually toggle each individual message that they want to mark as incognito. This process can be error prone, leading to situations where important messages might be forgotten to be marked.

Technical Details

To implement this feature, there should be a persistent setting for chat preferences that allows users to enable Incognito/Gift Wrapped messages as the default for new chats. The UI would need to be updated to reflect the new persistent setting and provide clear indicators of which chats are marked as incognito.

vitorpamplona commented 2 months ago

It's not on by default because many folks haven't yet migrated to gift-wrapped DMs and they don't have a relay to receive your message registered. If the receiving user doesn't have a way to see it, there is no point in sending it. :(

But yes, in the future, the incognito will be the only option.

crimsonleaf363 commented 2 months ago

It's not on by default because many folks haven't yet migrated to gift-wrapped DMs and they don't have a relay to receive your message registered. If the receiving user doesn't have a way to see it, there is no point in sending it. :(

But yes, in the future, the incognito will be the only option.

What about adding the toggle feature to allow users a persistent setting for incognito messages? Could this feature be implemented today so users can get an improvement before it becomes the default?

vitorpamplona commented 2 months ago

Hum.. Should we just disable the chat for receivers who cannot receive incognito messages?

The sender cannot force it. The receiver must have their DM relays setup to receive messages.

callebtc commented 2 months ago

Should we just disable the chat for receivers who cannot receive incognito messages?

I think this is a good idea.