silverpill on Nostr: Fishing Dev Yes, federation will happen on edit. And I don't recommend writing to ...
Fishing Dev (nprofile…ccxk) Yes, federation will happen on edit. And I don't recommend writing to database directly because that may lead to unintended consequences.
I could add a mitractl command for creating posts in the next release, something like this:
mitractl create-post <content-html> <attachment-path> <creation-date> <username>
It's not difficult to implement. What do you think?
Published at
2025-02-24 23:05:56Event JSON
{
"id": "c58b1448de3f14094ef13b356fa7ad6c648062c95af9ac2982c70908b221fa26",
"pubkey": "6a5f35dc281276c30c527e1240ef6bad3ef27bcf92b4fef017dc7f5a5c31e5ec",
"created_at": 1740438356,
"kind": 1,
"tags": [
[
"p",
"cd7ef1f94da96b4454f53ace2c1b347130da8bcd44acf5f15854a469d824795b",
"wss://relay.mostr.pub"
],
[
"e",
"a2e9ca2d099d776131d9241eb7222aff93f4bad912daf9eeccb0e17802c5286c",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mitra.social/objects/01953a35-c2e1-1d27-e0dc-ecd5b3dd3a8d",
"activitypub"
]
],
"content": "nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqe4l0r72d4945g4848t8zcxe5wycd4z7dgjk0tu2c2jjxnkpy09dsl8ccxk Yes, federation will happen on edit. And I don't recommend writing to database directly because that may lead to unintended consequences.\n\nI could add a mitractl command for creating posts in the next release, something like this:\n\nmitractl create-post \u003ccontent-html\u003e \u003cattachment-path\u003e \u003ccreation-date\u003e \u003cusername\u003e\n\n\nIt's not difficult to implement. What do you think?",
"sig": "15091ff3c923321c4995e0b992bf4285565991dc839f087b0c074c6841c1f4d908a675201cb60f2584c57ffe6b989aac51f7c62c07020fb7815cfa372c31eaa4"
}