Open aidadiaz9 opened 11 months ago
The NIP-28 spec doesn't mention "adding" someone to a chat. I think a user must opt into a public chat channel by simply creating a note of 42 - channel message
and broadcasting it. Browsing and joining public chat channels or adding someone to a public chat channel would be something a client would implement (i.e. a frontend to show users the list of chats, buttons for joining or adding someone and leaving). Looking at nostrchat.io, you can see when you click the +
sign next to Channels, it shows "create" and "join" but no "add."
I created an ATL BitLab public chat channel to see if the chat channel interface has an "add" button, but it doesn't .
Solution
The nostr code for this issue will be complete in #6 This issue should handle the frontend changes and the requests
@w3irdrobot your pieces
Frontend Nostr
Backend (AbbotNostr)
"Hey! The name's Abbot but you can think of me as your go-to guide for all things Bitcoin.
"AKA the virtual Bitcoin whisperer. 😉\n\n"
"Here's the lowdown on how to get my attention: \n\n"
"1. Slap an @ before your message in the group chat - I'll come running to answer. \n"
"2. Feel more comfortable replying directly to my messages? Go ahead! I'm all ears.. err.. code. \n"
"3. Fancy a one-on-one chat? Slide into my DMs. \n\n"
"Now, enough with the rules! Let's dive into the world of Bitcoin together! \n\n"
"Ready. Set. Stack Sats! 🚀"
i'm gonna go with a custom kind of 21021
for abbot to be looking for invites to a channel. this is what is called an "ephemeral event", defined by nip01. essentially relays don't have to store it. so they pass it on to anyone listening for them at the time but anyone that shows up after will not get it.
i can understand the reason for using a replaceable event in the range of 10000 <= n < 20000
as well.
thoughts on using 21021
?
the expected message will have an empty content, a kind of 21021, and a tag e
set to the id of the channel to join.
also, using a similar method as dms do, let's put a p
tag in there to reference abbot's pubkey
opened a pr in the dev website repo. added buttons for nostr dm and nostr channel with styling. added form with validation for channel id
@bnonni i don't think i have access to this frontend site at all
Yeah, no one does because its our atlbitlab.com website and it isn't public. I'm working on a solution to make it so
Due date = 10/20/23
Add Abbot to your nostr public chat channel.
Due date:
On Saturday I can work on adding the Telegram front end UI to follow the nostr flow (Telegram DM and Telegram Channel buttons).
Sounds great! Thanks!
Due date = 10/20/23
Add Abbot to your nostr public chat channel.