Skip to content

Commit

Permalink
Issue #401: make sure indieweb captions still work
Browse files Browse the repository at this point in the history
  • Loading branch information
swentel committed Aug 12, 2020
1 parent f1766a7 commit 4f7709b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/src/main/assets/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<li>Fix IndieWeb global/channel search</li>
<li>Always show available accounts to set default account</li>
<li>Allow to set the new connection as the default account</li>
<li>Fix mp-photo-alt for uploads via IndieWeb media endpoint</li>
</ul>
<h4>02/08/2020 2020 0.63</h4>
<ul>
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/java/com/indieweb/indigenous/post/Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,9 @@ public void sendMediaPost() {
for (Uri u : image) {
if (caption.size() > 0) {
description = caption.get(index);
caption.remove(index);
if (post.supports(Post.FEATURE_MEDIA_UPLOAD_DESCRIPTION)) {
caption.remove(index);
}
}
sendMediaRequest(u, description, endpoint, true, false);
index++;
Expand Down

0 comments on commit 4f7709b

Please sign in to comment.