Implement posting threads (#6049)

* Implement posting a thread

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>

* Fix native build

* Remove dependency on web crypto API

* Fix unrelated TS error (wtf)

---------

Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>
This commit is contained in:
dan
2024-11-01 03:42:38 +00:00
committed by GitHub
parent 4c31403330
commit 01c9ac0e13
6 changed files with 243 additions and 71 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ export const ComposePost = ({
onStateChange: setPublishingStage,
langs: toPostLanguages(langPrefs.postLanguage),
})
).uri
).uris[0]
try {
await whenAppViewReady(agent, postUri, res => {
const postedThread = res.data.thread