mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Disallow paste/drop images when there is a link preview
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user