diff --git a/src/matrix.coffee b/src/matrix.coffee index c1c2f82..19067bb 100644 --- a/src/matrix.coffee +++ b/src/matrix.coffee @@ -82,6 +82,7 @@ class Matrix extends Adapter @emit 'connected' @client.on 'Room.timeline', (event, room, toStartOfTimeline) => if event.getType() == 'm.room.message' and toStartOfTimeline == false + @client.setPresence "online" message = event.getContent() name = event.getSender() user = @robot.brain.userForId name