Replying to Avatar alex

Hey nostr:nprofile1qydhwumn8ghj76rpwejkutnpvd3kjmmv0yh8xmmrd9skctcpypmhxue69uhksctkv4hzuctrvd5k7mre9eek7cmfv9kz76twvfhhsqpqa6we08n7zsv2na689whc9hykpq4q6sj3kaauk9c2dm8vj0adlajq2t6aua, you are looking for `PrimalUploadService.kt`, can be found in primal-android-app repo under `networking-upload` module which is in charge of blossom uploading.

Mirroring with Haven did not work because Haven does not support BUD-04 (which we're using for mirroring). Not sure if anything has changed recently. Check this thread for more details.

nostr:nevent1qvzqqqqqqypzqwlsccluhy6xxsr6l9a9uhhxf75g85g8a709tprjcn4e42h053vaqqsdazmakhmwyjdqquwe6j0yy7vytj7a55rzm9da9kyrxj8j0lafwks6vkp75

Thanks, both. That was a quick response 🙂. Just to give a bit more context to the GitHub issue: things have progressed on Khatru and Haven. The /mirror endpoint is already in place on Khatru, and for now, we are redirecting /media to /upload. It all seems to be working fine on Primal Web.

I believe the problem on Android is a known issue due to Khatru not returning a `Content-Type: application/json` header, which is likely fixed on Khatru master (or at least, I tested the fix some time ago and it was working). I'll cut a new test release of Haven tomorrow and see if I can get it working with Android. Hopefully, this will also fix things on Primal iOS. If I need anything on the Primal side, I'll reach out for sure.

Reply to this note

Please Login to reply.

Discussion

No replies yet.