mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-21 16:25:13 +02:00
Fix copying.
This commit is contained in:
@@ -423,16 +423,20 @@ module.exports = function(options) {
|
||||
joinChannel(responseChannel)
|
||||
push.send([
|
||||
channel
|
||||
, wireutil.envelope(new wire.PasteMessage(
|
||||
data.text
|
||||
))
|
||||
, wireutil.transaction(
|
||||
responseChannel
|
||||
, new wire.PasteMessage(data.text)
|
||||
)
|
||||
])
|
||||
})
|
||||
.on('clipboard.copy', function(channel, responseChannel) {
|
||||
joinChannel(responseChannel)
|
||||
push.send([
|
||||
channel
|
||||
, wireutil.envelope(new wire.CopyMessage())
|
||||
, wireutil.transaction(
|
||||
responseChannel
|
||||
, new wire.CopyMessage()
|
||||
)
|
||||
])
|
||||
})
|
||||
.on('device.identify', function(channel, responseChannel) {
|
||||
|
||||
Reference in New Issue
Block a user