From a1b7a52b241cae5a27c142931371eac39409777c Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Thu, 12 May 2022 13:43:44 +0200 Subject: [PATCH] set log level of permission checks to "warning" Signed-off-by: Marcel Hibbe --- .../java/com/nextcloud/talk/controllers/ChatController.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt index caa519d79..44f378e33 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt +++ b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt @@ -1462,7 +1462,7 @@ class ChatController(args: Bundle) : var metaData = "" if (!hasChatPermission) { - Log.e(TAG, "uploading file(s) is forbidden because of missing attendee permissions") + Log.w(TAG, "uploading file(s) is forbidden because of missing attendee permissions") return } @@ -2544,7 +2544,7 @@ class ChatController(args: Bundle) : fun deleteMessage(message: IMessage?) { if (!hasChatPermission) { - Log.e( + Log.w( TAG, "Deletion of message is skipped because of restrictions by permissions. " + "This method should not have been called!"