@ -79,7 +79,7 @@ func initDB() {
log.Println("Database set up")
}
func putMsg(m *ChatWarsMessage) {
func putMsg(m ChatWarsMessage) {
stmt, err := db.Prepare(`INSERT INTO msg (id, user_id, direction, date, text)
VALUES (?, ?, ?, FROM_UNIXTIME(?), ?);`)
if err != nil {
The note is not visible to the blocked user.