Disallow paste/drop images when there is a link preview
This commit is contained in:
parent
b9adee918f
commit
24c77b48bd
1 changed files with 4 additions and 0 deletions
|
@ -963,6 +963,10 @@ export class ConversationView extends window.Backbone.View<ConversationModel> {
|
||||||
|
|
||||||
// TODO DESKTOP-2426
|
// TODO DESKTOP-2426
|
||||||
async processAttachments(files: Array<File>): Promise<void> {
|
async processAttachments(files: Array<File>): Promise<void> {
|
||||||
|
if (this.preview) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const {
|
const {
|
||||||
addAttachment,
|
addAttachment,
|
||||||
addPendingAttachment,
|
addPendingAttachment,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue