im: add bubble for unread message
Also set all read when on im page or when displaying it
Change-Id: I71fde714cdd4888e483e724fd3757a5adf540fb0
Tuleap: #232
diff --git a/callwidget.cpp b/callwidget.cpp
index 7bc345c..08bb4bf 100644
--- a/callwidget.cpp
+++ b/callwidget.cpp
@@ -609,6 +609,7 @@
this,
SLOT(slotAccountMessageReceived(QMap<QString,QString>,ContactMethod*,Media::Media::Direction)));
ui->listMessageView->scrollToBottom();
+ txtRecording->setAllRead();
}
}
@@ -618,10 +619,10 @@
Media::Media::Direction dir)
{
Q_UNUSED(message)
- Q_UNUSED(cm)
Q_UNUSED(dir)
ui->listMessageView->scrollToBottom();
+ cm->textRecording()->setAllRead();
}
void