Vitor Pamplona on Nostr: Don't use kind 1 for chats. Never. They are feed posts and should always be rendered ...
Don't use kind 1 for chats. Never. They are feed posts and should always be rendered as such.
If MLS is just for chat messages, we can have a new chat kind just for it. But if anything can be transferred inside if it, then reusing kind 14 makes sense. But we need to figure out a way to encode the group info in every event kind.
Published at
2024-11-14 09:47:52Event JSON
{
"id": "74034a76ab3300e32c6aa98b42698f7bf4b515c141df91d4e3886531f8d55ae9",
"pubkey": "460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"created_at": 1731577672,
"kind": 1,
"tags": [
[
"e",
"80c5b77a117f41192f69acd0cf54931542b12fc57d8709f52de6894ae8908eb3",
"",
"root"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52"
],
[
"p",
"63fe6318dc58583cfe16810f86dd09e18bfd76aabc24a0081ce2856f330504ed"
],
[
"p",
"ff27d01cb1e56fb58580306c7ba76bb037bf211c5b573c56e4e70ca858755af0"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5"
],
[
"p",
"d61f3bc5b3eb4400efdae6169a5c17cabf3246b514361de939ce4a1a0da6ef4a"
],
[
"p",
"1739d937dc8c0c7370aa27585938c119e25c41f6c441a5d34c6d38503e3136ef"
]
],
"content": "Don't use kind 1 for chats. Never. They are feed posts and should always be rendered as such. \n\nIf MLS is just for chat messages, we can have a new chat kind just for it. But if anything can be transferred inside if it, then reusing kind 14 makes sense. But we need to figure out a way to encode the group info in every event kind. ",
"sig": "9491c5ebbf9e89b29d8a4e416622f2aa4b5d8cc46aa27f7020ef5eb83c7b9540539f1373152ac85712e5af00def29b68f051867bac7b3c46b58e3ccb77583845"
}