diff --git a/lib/pages/chat/events/html_message.dart b/lib/pages/chat/events/html_message.dart
index 46334a706b..d7e7135035 100644
--- a/lib/pages/chat/events/html_message.dart
+++ b/lib/pages/chat/events/html_message.dart
@@ -17,7 +17,6 @@ class HtmlMessage extends StatelessWidget {
final String html;
final int? maxLines;
final Room room;
- final Event event;
final TextStyle? defaultTextStyle;
final TextStyle? linkStyle;
final double? emoteSize;
@@ -26,7 +25,6 @@ class HtmlMessage extends StatelessWidget {
const HtmlMessage({
Key? key,
required this.html,
- required this.event,
this.maxLines,
required this.room,
this.defaultTextStyle,
diff --git a/lib/pages/chat/events/message_content.dart b/lib/pages/chat/events/message_content.dart
index 43efb2a528..b619695370 100644
--- a/lib/pages/chat/events/message_content.dart
+++ b/lib/pages/chat/events/message_content.dart
@@ -134,7 +134,6 @@ class MessageContent extends StatelessWidget
return Padding(
padding: const EdgeInsets.only(left: 8.0, right: 8.0),
child: HtmlMessage(
- event: event,
html: html,
defaultTextStyle: Theme.of(context).textTheme.bodyLarge,
linkStyle: TextStyle(