Strypey on Nostr: When the Direct chat begins, once the two rooms are created, they are plumbed ...
When the Direct chat begins, once the two rooms are created, they are plumbed together. Whichever of Alice's accounts come and go through the room, from Bob's end, it's always a 'chat with Bob' at her end, and a 'chat with Alice' at his. With the appropriate name and avatar at each end.
The second solution is potentially fiddlier, because it tinkers with the sessions verification system...
(5/?)
Published at
2023-08-12 07:00:55Event JSON
{
"id": "27df10ebce5e060daccae809860e074e44a8d7f9a28bddedca4fae83c7b67bb3",
"pubkey": "0b9db3c0a234209dc7a0645154b009b96c8f8fdadd0558d704dcb85404b2bb9c",
"created_at": 1691823655,
"kind": 1,
"tags": [
[
"e",
"92b95eb38b48506b4e8c8553fb7f69098eca67f82eba66e1ebd5ce45bef65080",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.nzoss.nz/users/strypey/statuses/110875355065436506",
"activitypub"
]
],
"content": "When the Direct chat begins, once the two rooms are created, they are plumbed together. Whichever of Alice's accounts come and go through the room, from Bob's end, it's always a 'chat with Bob' at her end, and a 'chat with Alice' at his. With the appropriate name and avatar at each end.\n\nThe second solution is potentially fiddlier, because it tinkers with the sessions verification system...\n\n(5/?)",
"sig": "47f0fb5c967b1a242cf42d3f440ecee2a099be8a375d2a9a3ef1f29d03c9ba5c4ed0b56d88e24c77918d06086c67e0a932c147a90d34e7c163b259ea28ce4483"
}