fix
This commit is contained in:
parent
794e2350cd
commit
4ae08d2c11
@ -427,7 +427,7 @@ func PostModelFromMessage(prefix string, nntp NNTPMessage) PostModel {
|
|||||||
p.addr = nntp.Addr()
|
p.addr = nntp.Addr()
|
||||||
p.sage = nntp.Sage()
|
p.sage = nntp.Sage()
|
||||||
p.Key = nntp.Pubkey()
|
p.Key = nntp.Pubkey()
|
||||||
p.ReferencedURI = nntp.Headers().Get("X-Referenced-Uri", "")
|
p.ReferencedURI = nntp.Headers().Get("X-References-Uri", "")
|
||||||
p.FrontendPublicKey = nntp.FrontendPubkey()
|
p.FrontendPublicKey = nntp.FrontendPubkey()
|
||||||
for _, att := range nntp.Attachments() {
|
for _, att := range nntp.Attachments() {
|
||||||
p.Files = append(p.Files, att.ToModel(prefix))
|
p.Files = append(p.Files, att.ToModel(prefix))
|
||||||
|
Reference in New Issue
Block a user