From f2f3ad733f4b29e1595bbececf3e19f0ff052b70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Julius=20H=C3=A4rtl?= <jus@bitgrid.net>
Date: Thu, 3 Dec 2020 16:03:09 +0100
Subject: [PATCH] Dummy general share checks for deck
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Julius Härtl <jus@bitgrid.net>
---
 lib/private/Share20/Manager.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index 9f2d885f4fb..6b782237b8c 100644
--- a/lib/private/Share20/Manager.php
+++ b/lib/private/Share20/Manager.php
@@ -248,6 +248,7 @@ class Manager implements IManager {
 				throw new \InvalidArgumentException('SharedWith is not a valid circle');
 			}
 		} elseif ($share->getShareType() === IShare::TYPE_ROOM) {
+		} elseif ($share->getShareType() === IShare::TYPE_DECK) {
 		} else {
 			// We can't handle other types yet
 			throw new \InvalidArgumentException('unknown share type');
-- 
GitLab