call method on the right object

This commit is contained in:
Hubert Chathi 2016-10-01 13:39:41 -04:00
parent 547e20df88
commit c509b5cde0

View File

@ -36,7 +36,7 @@ class Matrix extends Adapter
topic: (envelope, strings...) -> topic: (envelope, strings...) ->
for str in strings for str in strings
@sendEvent envelope.room, "m.room.topic", { @client.sendEvent envelope.room, "m.room.topic", {
topic: str topic: str
} }