diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index 0f21072274879f5db9e77b2f8d08abfb01714b38..56d0d1ceb3da0a43cbe3df7eadfd391c525224e0 100644
--- a/src/timeline/InputBar.cpp
+++ b/src/timeline/InputBar.cpp
@@ -515,6 +515,15 @@ InputBar::sticker(ImagePackModel *model, int row)
         sticker.url  = img.url;
         sticker.body = img.body;
 
+        if (!room->reply().isEmpty()) {
+                sticker.relations.relations.push_back(
+                  {mtx::common::RelationType::InReplyTo, room->reply().toStdString()});
+        }
+        if (!room->edit().isEmpty()) {
+                sticker.relations.relations.push_back(
+                  {mtx::common::RelationType::Replace, room->edit().toStdString()});
+        }
+
         room->sendMessageEvent(sticker, mtx::events::EventType::Sticker);
 }