Do not show tile for incoming call

This commit is contained in:
ismailgulek
2021-01-21 13:52:14 +03:00
parent a4c17b78b8
commit 4735a71c0c
2 changed files with 19 additions and 2 deletions
@@ -73,8 +73,12 @@ class RoomDirectCallStatusBubbleCell: RoomBaseCallBubbleCell {
.remotelyOnHold:
statusTextView.text = VectorL10n.eventFormatterCallYouCurrentlyIn
case .ringing:
// TODO: Waiting for design decision here
statusTextView.text = nil
if call.isIncoming {
// should not be here
statusTextView.text = nil
} else {
statusTextView.text = VectorL10n.eventFormatterCallYouCurrentlyIn
}
case .ended:
switch call.endReason {
case .unknown,