do not show message status for RTP
we don’t track them well enough (we could though)
This commit is contained in:
parent
b0bc2c2856
commit
376374263c
|
@ -86,7 +86,9 @@ public class ConversationAdapter
|
||||||
final boolean isRead = conversation.isRead();
|
final boolean isRead = conversation.isRead();
|
||||||
final @DrawableRes Integer messageStatusDrawable =
|
final @DrawableRes Integer messageStatusDrawable =
|
||||||
MessageAdapter.getMessageStatusAsDrawable(message, status);
|
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) {
|
if (status <= Message.STATUS_RECEIVED) {
|
||||||
viewHolder.binding.messageStatus.setVisibility(View.GONE);
|
viewHolder.binding.messageStatus.setVisibility(View.GONE);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue