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
|
||||
async processAttachments(files: Array<File>): Promise<void> {
|
||||
if (this.preview) {
|
||||
return;
|
||||
}
|
||||
|
||||
const {
|
||||
addAttachment,
|
||||
addPendingAttachment,
|
||||
|
|
Loading…
Add table
Reference in a new issue