From c509b5cde09e2d06244a5888ffe7e77f7e368a72 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Sat, 1 Oct 2016 13:39:41 -0400 Subject: [PATCH] call method on the right object --- src/matrix.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix.coffee b/src/matrix.coffee index 3fe74d7..8060c43 100644 --- a/src/matrix.coffee +++ b/src/matrix.coffee @@ -36,7 +36,7 @@ class Matrix extends Adapter topic: (envelope, strings...) -> for str in strings - @sendEvent envelope.room, "m.room.topic", { + @client.sendEvent envelope.room, "m.room.topic", { topic: str }