From 66a047ed307d3396cf17b9a8a3e969c3d21aaba0 Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Mon, 12 May 2014 18:16:42 +0900 Subject: [PATCH] Fix clipboard.copy. --- lib/roles/app.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/roles/app.js b/lib/roles/app.js index 4bb90eea..117d0786 100644 --- a/lib/roles/app.js +++ b/lib/roles/app.js @@ -428,13 +428,11 @@ module.exports = function(options) { )) ]) }) - .on('clipboard.copy', function(channel, responseChannel, data) { + .on('clipboard.copy', function(channel, responseChannel) { joinChannel(responseChannel) push.send([ channel - , wireutil.envelope(new wire.CopyMessage( - data.text - )) + , wireutil.envelope(new wire.CopyMessage()) ]) }) .on('device.identify', function(channel, responseChannel) {