Do not show tile for incoming call

This commit is contained in:
ismailgulek
2021-01-21 13:52:14 +03:00
parent 4728ae0e84
commit 9981a03327
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,