no clipboard content bug.

This commit is contained in:
Miroslav Šedivý 2021-02-01 12:23:37 +01:00
parent b9df65c216
commit b420841f9d

View File

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