From 2220dc4babe2264453ddd26c45a9437973435bc3 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Tue, 8 May 2018 11:01:54 -0300 Subject: Add method Str to Room --- lib/Matrix/Client/Room.pm6 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Matrix/Client/Room.pm6 b/lib/Matrix/Client/Room.pm6 index c264a80..1f6aa19 100644 --- a/lib/Matrix/Client/Room.pm6 +++ b/lib/Matrix/Client/Room.pm6 @@ -51,6 +51,9 @@ method leave() { } method gist(--> Str) { - my $name = self.name(); + "Room" +} + +method Str(--> Str) { "Room" } -- cgit v1.2.3-70-g09d2