Activate mark-as-unread on message level for everyone

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2023-02-07 11:47:44 +01:00
parent 7ff20a33ef
commit f173cacf0b
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -35,7 +35,6 @@ import android.view.inputmethod.InputMethodManager
import autodagger.AutoInjector
import com.google.android.material.bottomsheet.BottomSheetBehavior
import com.google.android.material.bottomsheet.BottomSheetDialog
import com.nextcloud.talk.BuildConfig
import com.nextcloud.talk.R
import com.nextcloud.talk.application.NextcloudTalkApplication
import com.nextcloud.talk.controllers.ChatController
@ -103,8 +102,7 @@ class MessageActionsDialog(
)
initMenuMarkAsUnread(
message.previousMessageId > NO_PREVIOUS_MESSAGE_ID &&
ChatMessage.MessageType.SYSTEM_MESSAGE != message.getCalculateMessageType() &&
BuildConfig.DEBUG
ChatMessage.MessageType.SYSTEM_MESSAGE != message.getCalculateMessageType()
)
}