Skip to content

Commit d0467a3

Browse files
committed
Mastodon is Data URL v3
1 parent c24accf commit d0467a3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mastodon.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,9 @@ async function videoReply(filename,mediaType,replyTo,text,tweet,checksum,hasAudi
7171

7272

7373
let progData = encodeURIComponent(JSON.stringify({
74-
"v":1,
74+
"v":3, // Mastodon era
7575
"program":program,
76-
"author":text,
77-
"date": Date.now(),
78-
"id": null,
76+
"toot": response.url,
7977
"src": tweet.url
8078
}));
8179

0 commit comments

Comments
 (0)