image previews wip
This commit is contained in:
parent
27c2524cd8
commit
204ff9af2a
|
@ -53,6 +53,7 @@ type OverlayMessage struct {
|
|||
Size uint64 `json:"s"`
|
||||
}
|
||||
|
||||
|
||||
// FileKey is the unique reference to a file offer
|
||||
func (om *OverlayMessage) FileKey() string {
|
||||
return fmt.Sprintf("%s.%s", om.Hash, om.Nonce)
|
||||
|
|
Loading…
Reference in New Issue