From 539171acddfd36ae8f18cfa7db07ffafc3e469d9 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Tue, 5 Jun 2018 23:49:46 -0300 Subject: Don't use the name in gist/Str for a room. If the name isn't cached, this methods will ping to the server for the name, and that's something bad on stringification. --- lib/Matrix/Client/Room.pm6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Matrix/Client/Room.pm6 b/lib/Matrix/Client/Room.pm6 index 6ba3ff1..6897b8d 100644 --- a/lib/Matrix/Client/Room.pm6 +++ b/lib/Matrix/Client/Room.pm6 @@ -56,9 +56,9 @@ method leave() { } method gist(--> Str) { - "Room" + "Room" } method Str(--> Str) { - "Room" + "Room" } -- cgit v1.2.3-70-g09d2