aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Matrix/Response.pm62
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Matrix/Response.pm6 b/lib/Matrix/Response.pm6
index 6a25bf9..270cbd0 100644
--- a/lib/Matrix/Response.pm6
+++ b/lib/Matrix/Response.pm6
@@ -19,7 +19,7 @@ class Matrix::Response::RoomEvent is Matrix::Response::Event {
method id { $.event_id }
method timestamp { $!origin_server_ts }
- method room-id { $.room-id }
+ method room-id { $.room_id }
}
class Matrix::Response::StateEvent is Matrix::Response::RoomEvent {