From 9670fb210c6a0fa2003d6cf0c12fc2166fc5e602 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Tue, 8 May 2018 10:56:55 -0300 Subject: Fix infinite recursion. --- lib/Matrix/Response.pm6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 { -- cgit v1.2.3-70-g09d2