Fix reply repeat for sticker

This commit is contained in:
luvletter2333 2021-12-02 12:46:43 +08:00
parent 334294d683
commit 5dcfafeca4
No known key found for this signature in database
GPG Key ID: A26A8880836E1978

View File

@ -27371,10 +27371,13 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
if (!TextUtils.isEmpty(caption)) {
SendMessagesHelper.getInstance(currentAccount)
.sendMessage(caption.toString(), dialog_id, replyTo,
isThreadChat() ? getThreadMessage() : null, null,
getThreadMessage(), null,
false, null, null, null,
true, 0, null);
}
} else if ((selectedObject.isSticker() || selectedObject.isAnimatedSticker()) && selectedObject.getDocument() != null) {
SendMessagesHelper.getInstance(currentAccount)
.sendSticker(selectedObject.getDocument(), null, dialog_id, replyTo, getThreadMessage(), null, null, true, 0);
}
return;
}