From 1753e2e54be9bacc37bf2767a7cfff2e10df5093 Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 7 Aug 2017 16:05:40 -0400 Subject: [PATCH] fix --- contrib/backends/srndv2/src/srnd/model_mem.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/backends/srndv2/src/srnd/model_mem.go b/contrib/backends/srndv2/src/srnd/model_mem.go index 3e9cb4b..ccc5c87 100644 --- a/contrib/backends/srndv2/src/srnd/model_mem.go +++ b/contrib/backends/srndv2/src/srnd/model_mem.go @@ -420,11 +420,11 @@ func (self *post) MessageID() string { } func (self *post) Frontend() string { - idx := strings.LastIndex(self.MessagePath, "@") + idx := strings.LastIndex(self.Message_id, "@") if idx == -1 { 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 {