diff --git a/src/commoncomponents/SBSMessageBase.qml b/src/commoncomponents/SBSMessageBase.qml
index 2de0fe34cf952eb1e966eef23446d85eb7907074..ebb989dbafac3e5ac52af05024cd1cb99ef5128c 100644
--- a/src/commoncomponents/SBSMessageBase.qml
+++ b/src/commoncomponents/SBSMessageBase.qml
@@ -114,13 +114,15 @@ Control {
             orientation: ListView.Horizontal
             Layout.preferredHeight: {
                 if (showTime || seq === MsgSeq.last)
-                    return childrenRect.height
+                    return contentHeight + formattedTimeLabel.contentHeight
                 else if (reads.visible)
                     return JamiTheme.avatarReadReceiptSize
                 return 0
             }
 
             Label {
+                id: formattedTimeLabel
+
                 text: formattedTime
                 color: JamiTheme.timestampColor
                 visible: showTime || seq === MsgSeq.last