Archived
1
0
This commit is contained in:
Jeff 2017-08-07 16:05:40 -04:00
parent c2c2146ad3
commit 1753e2e54b

View File

@ -420,11 +420,11 @@ func (self *post) MessageID() string {
} }
func (self *post) Frontend() string { func (self *post) Frontend() string {
idx := strings.LastIndex(self.MessagePath, "@") idx := strings.LastIndex(self.Message_id, "@")
if idx == -1 { if idx == -1 {
return "malformed" return "malformed"
} }
return self.MessagePath[idx : len(self.MessagePath)-2] return self.Message_id[idx : len(self.Message_id)-2]
} }
func (self *post) Board() string { func (self *post) Board() string {