mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 13:35:33 +03:00
set log level of permission checks to "warning"
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
8b3d32584c
commit
a1b7a52b24
1 changed files with 2 additions and 2 deletions
|
@ -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!"
|
||||
|
|
Loading…
Reference in a new issue