mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
join plain text and rich text to one struct.
This commit is contained in:
@ -16,5 +16,8 @@ func (h *MessageHandlerCtx) clipboardSet(session types.Session, payload *message
|
||||
return nil
|
||||
}
|
||||
|
||||
return h.desktop.ClipboardSetPlainText(payload.Text)
|
||||
return h.desktop.ClipboardSetText(types.ClipboardText{
|
||||
Text: payload.Text,
|
||||
// TODO: Send HTML?
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user