summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2018-05-08 10:56:55 -0300
committerMatias Linares <matiaslina@openmailbox.org>2018-05-08 10:56:55 -0300
commit9670fb210c6a0fa2003d6cf0c12fc2166fc5e602 (patch)
treef8d139deb547e808fac79d9739fdcfef2fd64a62
parente418fb8df723c3ebafa085dda18e5013f9b8b0e6 (diff)
downloadperl6-matrix-client-9670fb210c6a0fa2003d6cf0c12fc2166fc5e602.tar.gz
Fix infinite recursion.
-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 {