Fix clipboard.copy.

This commit is contained in:
Simo Kinnunen
2014-05-12 18:16:42 +09:00
parent 433baee98e
commit 66a047ed30

View File

@@ -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) {