aboutsummaryrefslogtreecommitdiff
path: root/pkg/app
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/app')
-rw-r--r--pkg/app/message/show.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/app/message/show.go b/pkg/app/message/show.go
index 7ceb84c..e8eb456 100644
--- a/pkg/app/message/show.go
+++ b/pkg/app/message/show.go
@@ -5,7 +5,6 @@ package message
import (
"archives/pkg/database"
"archives/pkg/models"
- "fmt"
"net/http"
"strings"
)
@@ -32,7 +31,6 @@ func Show(w http.ResponseWriter, r *http.Request) {
var queryParts []string
for _, reference := range message.References {
- fmt.Println("> " + reference.Id)
queryParts = append(queryParts, "reference_id = '" + reference.Id + "'")
}
query := strings.Join(queryParts, " OR ")
@@ -46,7 +44,6 @@ func Show(w http.ResponseWriter, r *http.Request) {
// TODO only if len(refs) >= 1
var nextQueryParts []string
for _, reference := range refs {
- fmt.Println("> " + reference.MessageId)
nextQueryParts = append(nextQueryParts, "id = '" + reference.MessageId + "'")
}
nextQuery := strings.Join(nextQueryParts, " OR ")
@@ -57,9 +54,5 @@ func Show(w http.ResponseWriter, r *http.Request) {
// Where date is newer than message
Select()
- fmt.Println("-------------------")
- fmt.Println(err)
- fmt.Println(len(replies))
-
renderMessageTemplate(w, listName, message, replies)
}