mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-05-06 21:33:09 +00:00
Remove IMDN info for incoming messages in 1 to 1 chat rooms
This commit is contained in:
parent
aab1e96acd
commit
a1ad065e7f
1 changed files with 5 additions and 0 deletions
|
|
@ -346,6 +346,11 @@ public class GroupChatFragment extends Fragment implements ChatRoomListener, Con
|
|||
} else {
|
||||
inflater.inflate(R.menu.chat_bubble_menu, menu);
|
||||
}
|
||||
|
||||
if (!message.isOutgoing() && mChatRoom.hasCapability(ChatRoomCapabilities.OneToOne.toInt())) {
|
||||
// Do not show incoming messages IDMN state in 1 to 1 chat room as we don't receive IMDN for them
|
||||
menu.removeItem(R.id.imdn_infos);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue