From 2395c0c7df062a2a94ea21befbfc88a41e7c164c Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 31 Oct 2020 17:37:25 -0500 Subject: [PATCH] Correct validation so that we can still move feeds in Reader API accounts --- Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift b/Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift index fe244ac27..11ad9399f 100644 --- a/Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift +++ b/Mac/MainWindow/Sidebar/SidebarOutlineDataSource.swift @@ -687,8 +687,14 @@ private extension SidebarOutlineDataSource { } for draggedFeed in draggedFeeds { - if dropTargetAccount.hasWebFeed(withURL: draggedFeed.url) { - return true + if dropTargetAccount.accountID == draggedFeed.accountID { + if NSApplication.shared.currentEvent?.modifierFlags.contains(.option) ?? false { + return true + } + } else { + if dropTargetAccount.hasWebFeed(withURL: draggedFeed.url) { + return true + } } }