Add GetFilePreview method to Peer
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc 2024-04-06 16:04:41 +02:00
parent 813611bde7
commit 05df08efcb

View File

@ -292,6 +292,10 @@ func (p *Peer) StoreMessage(msg *meowlib.UserMessage, filenames []string) error
return StoreMessage(p, msg, filenames, p.GetDbPassword())
}
func (p *Peer) GetFilePreview(filename string) ([]byte, error) {
return FilePreview(filename, p.GetDbPassword())
}
func (p *Peer) UpdateMessage(msg InternalUserMessage) error {
return nil
}