mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
no clipboard content bug.
This commit is contained in:
parent
b9df65c216
commit
b420841f9d
@ -120,6 +120,7 @@ func (ws *WebSocketManagerCtx) Start() {
|
||||
data, err := ws.desktop.ClipboardGetText()
|
||||
if err != nil {
|
||||
ws.logger.Warn().Err(err).Msg("could not get clipboard content")
|
||||
return
|
||||
}
|
||||
|
||||
if err := session.Send(message.ClipboardData{
|
||||
|
Loading…
Reference in New Issue
Block a user