dtonon on Nostr: Ah ok, you are checking my ruby lib and now I understand what you are referring to ...
Ah ok, you are checking my ruby lib and now I understand what you are referring to with "channels".
Channel messages are kind 42, currently they are seldom used, a lot of client show only kind 1 (main notes) in the feeds, they don't subscribe to channels ones, so you didn't receive any notification.
Amethyst is the only client I know that formally support channels.
For you use case, while waiting a general better channels' support, perhaps you can just use kind-1 events, they are public as much kind-42 and no one care what flows on the global :)
Published at
2023-03-04 01:02:23Event JSON
{
"id": "f8cc2b946888450c1ca36d4c5069998f55f2cd2592edd05c8d0cf2785b59c6e4",
"pubkey": "7bdef7be22dd8e59f4600e044aa53a1cf975a9dc7d27df5833bc77db784a5805",
"created_at": 1677891743,
"kind": 1,
"tags": [
[
"e",
"3b5fe10d7eb59a90da9abee2227764eb80a6aeafe9e90bcdf1e20128e05709fa",
"",
"root"
],
[
"e",
"2767259bbe1a6e81bdc87e4a3b8c239e4b93480a1e5a08c1f46d00be35be9e8c",
"",
"reply"
],
[
"p",
"22e2e20f26ef6c55c7532326d0fd870bcce280ac15d43b3b7c98fd3483684ef8"
],
[
"p",
"22e2e20f26ef6c55c7532326d0fd870bcce280ac15d43b3b7c98fd3483684ef8"
]
],
"content": "Ah ok, you are checking my ruby lib and now I understand what you are referring to with \"channels\".\n\nChannel messages are kind 42, currently they are seldom used, a lot of client show only kind 1 (main notes) in the feeds, they don't subscribe to channels ones, so you didn't receive any notification.\nAmethyst is the only client I know that formally support channels.\n\nFor you use case, while waiting a general better channels' support, perhaps you can just use kind-1 events, they are public as much kind-42 and no one care what flows on the global :)",
"sig": "69a8ab045a222844851e97b0adae55f0096d765161673069ca08f3133944f86a26dbdb0246ff3a8fe93f6fdedbdbf57fefae9ec6bde84cc1168ade9081fc8ea8"
}