0
0
mirror of https://github.com/rls-moe/nyx synced 2025-12-15 09:30:41 +00:00

Images/Non-images post work, several bug fixes, UI fixes

This commit is contained in:
Tim Schuster
2017-03-13 18:45:23 +01:00
parent 4177901714
commit afd9ae71cf
21 changed files with 2206 additions and 23 deletions

View File

@@ -10,12 +10,13 @@ import (
)
type Reply struct {
ID int `json:"id"`
Text string `json:"text"`
Image []byte `json:"image"`
Thread int `json:"thread"`
Board string `json:"board"`
Metadata Metadata `json:"meta"`
ID int `json:"id"`
Text string `json:"text"`
Image []byte `json:"image"`
Thumbnail []byte `json:"thumb"`
Thread int `json:"thread"`
Board string `json:"board"`
Metadata Metadata `json:"meta"`
}
func NewReply(tx *buntdb.Tx, host, board string, thread *Thread, in *Reply, noId bool) error {