mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Fix clipboard.copy.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user