danestewart on Nostr: No, don’t rely on any particular/shared relay to determine whether a user is ...
No, don’t rely on any particular/shared relay to determine whether a user is considered ‘online’. Let the user maintain ownership of this info. Each user should be able to post a special type of ‘beacon’ note that only they can ‘ping’ (signed), similar to a reaction. To extended NIP-25, a content value of . (period character) is likely the most feasible. Thus the concept of being considered ‘online’ is nothing but a recognition of last known ‘ping’ to that beacon note. There may need to be a minimum limit (1 minute?) per ping to appease relays/clients to not be viewed as spam? Maybe this should be a NIP.
Published at
2023-01-26 00:24:38Event JSON
{
"id": "7100daa3397a3e9fc96b9d81549ce8af6c106d916a7614d288701e51e367e558",
"pubkey": "5d53f9509eefb64447b5031418ca7f1baea3f8aeaff8c84250bb457a4b0c004d",
"created_at": 1674692678,
"kind": 1,
"tags": [
[
"e",
"0a5304d0596f0bc8b62615aa474c99cbfda8bfba90a13071c4d6a5d609d0bb7c"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"b88c7f007bbf3bc2fcaeff9e513f186bab33782c0baa6a6cc12add78b9110ba3"
]
],
"content": "No, don’t rely on any particular/shared relay to determine whether a user is considered ‘online’. Let the user maintain ownership of this info. Each user should be able to post a special type of ‘beacon’ note that only they can ‘ping’ (signed), similar to a reaction. To extended NIP-25, a content value of . (period character) is likely the most feasible. Thus the concept of being considered ‘online’ is nothing but a recognition of last known ‘ping’ to that beacon note. There may need to be a minimum limit (1 minute?) per ping to appease relays/clients to not be viewed as spam? Maybe this should be a NIP.",
"sig": "edbdc281637c9a8e8ea1e7d292884a1abfabce8136ddf5573becb8c23f29ce901703db7c6104b7a90d8105ece9a213d211706c64b090a11e8267df60cccfb9ea"
}