Event JSON
{
"id": "d6901cf14bf2e6caeddf4140c924ea07990a4621c36adc05802f622466a0b14b",
"pubkey": "97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322",
"created_at": 1749750097,
"kind": 1,
"tags": [
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"",
"Vitor Pamplona"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"wss://relay.primal.net/",
"jb55"
],
[
"p",
"7adb520c3ac7cb6dc8253508df0ce1d975da49fefda9b5c956744a049d230ace",
"",
"w"
],
[
"e",
"1bbd7c6c98f045ff20fc2a2afc99250a8f7c6808d587791b545f25ebd5c76a29",
"wss://ditto.pub/relay",
"root"
],
[
"e",
"16c96d050b181aa7438e958674dabc119ae6ccd66b277a660045b6f669c8b836",
"wss://ditto.pub/relay",
"mention"
],
[
"e",
"277541d911163d5897027d1a910ed0ac2f8b461b56f5ef60c0636426b35e60ab",
"",
"reply",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"client",
"Coracle",
"31990:97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322:1685968093690"
]
],
"content": "I haven't dug into the details on any of this, but the way I understand it is (at least when using FCM) you generate a client-specific token and send it to the push relay, which then sends notifications for all subscriptions by token. So you wouldn't need a relay per client, or per user (unless the user wanted to set up a custom push server).",
"sig": "41d242e222b03528d901ef8fdcaa4e6bdd3b3b91211d1d074b6733aeedd4f196604555afe07a0a442756960dc4b053eca197364317d7069f349cf026b95c5a3c"
}