do not show message status for RTP

we don’t track them well enough (we could though)
This commit is contained in:
Daniel Gultsch 2024-04-14 19:59:49 +02:00
parent b0bc2c2856
commit 376374263c
No known key found for this signature in database
GPG key ID: F43D18AD2A0982C2

View file

@ -86,7 +86,9 @@ public class ConversationAdapter
final boolean isRead = conversation.isRead();
final @DrawableRes Integer messageStatusDrawable =
MessageAdapter.getMessageStatusAsDrawable(message, status);
if (messageStatusDrawable == null) {
if (message.getType() == Message.TYPE_RTP_SESSION) {
viewHolder.binding.messageStatus.setVisibility(View.GONE);
} else if (messageStatusDrawable == null) {
if (status <= Message.STATUS_RECEIVED) {
viewHolder.binding.messageStatus.setVisibility(View.GONE);
} else {