Skip to content

Commit

Permalink
Don't allow borderless images to have quotes attached.
Browse files Browse the repository at this point in the history
Fixes #9924
  • Loading branch information
greyson-signal committed Sep 24, 2020
1 parent dbbded5 commit fea1421
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3334,7 +3334,6 @@ private void sendKeyboardImage(@NonNull Uri uri, @NonNull String contentType, @N
long expiresIn = recipient.get().getExpireMessages() * 1000L;
int subscriptionId = sendButton.getSelectedTransport().getSimSubscriptionId().or(-1);
boolean initiating = threadId == -1;
QuoteModel quote = inputPanel.getQuote().orNull();
SlideDeck slideDeck = new SlideDeck();

if (MediaUtil.isGif(contentType)) {
Expand All @@ -3348,15 +3347,15 @@ private void sendKeyboardImage(@NonNull Uri uri, @NonNull String contentType, @N
sendMediaMessage(isSmsForced(),
"",
slideDeck,
quote,
null,
Collections.emptyList(),
Collections.emptyList(),
composeText.getMentions(),
expiresIn,
false,
subscriptionId,
initiating,
true);
false);
}

private class UnverifiedDismissedListener implements UnverifiedBannerView.DismissListener {
Expand Down

0 comments on commit fea1421

Please sign in to comment.