diff --git a/src/matrix.coffee b/src/matrix.coffee index 5a764be..3fe74d7 100644 --- a/src/matrix.coffee +++ b/src/matrix.coffee @@ -71,6 +71,7 @@ class Matrix extends Adapter @robot.logger.info "Synced #{@client.getRooms().length} rooms" @emit 'connected' @client.on 'Room.timeline', (event, room, toStartOfTimeline) => + @client.sendReadReceipt(event) if event.getType() == 'm.room.message' and event.getContent().msgtype != "m.notice" and toStartOfTimeline == false message = event.getContent().body name = event.getSender()