diff --git a/src/app/mainview/components/ChatView.qml b/src/app/mainview/components/ChatView.qml
index 6e7860488e172da1682e6e0d028b8bc60d0be99c..7c39226dcd1cd51b9b70c88f8f2b988ebfbf2cb5 100644
--- a/src/app/mainview/components/ChatView.qml
+++ b/src/app/mainview/components/ChatView.qml
@@ -39,6 +39,10 @@ Rectangle {
 
     property var mapPositions: PositionManager.mapStatus
 
+    // The purpose of this alias is to make the message bar
+    // accessible to the EmojiPicker
+    property alias messageBar: chatViewFooter.messageBar
+
     required property bool inCallView
 
     // Hide the extrasPanel when going into a call view, but save the previous
diff --git a/src/app/mainview/components/ChatViewFooter.qml b/src/app/mainview/components/ChatViewFooter.qml
index f0e806bce3be353186eed34d1de1d4a4d46246f2..e9deee61341deb9a4a74b411de981773a8daaeb5 100644
--- a/src/app/mainview/components/ChatViewFooter.qml
+++ b/src/app/mainview/components/ChatViewFooter.qml
@@ -26,6 +26,7 @@ import "../../commoncomponents"
 Rectangle {
     id: root
     property alias textInput: messageBar.textAreaObj
+    property alias messageBar: messageBar
     property string previousConvId
     property string previousAccountId
     property bool showTypo: messageBar.showTypo