set log level of permission checks to "warning"

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2022-05-12 13:43:44 +02:00
parent 8b3d32584c
commit a1b7a52b24
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -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!"