|
|
@ -521,7 +521,7 @@ func xonkxonk(user *WhatAbout, item interface{}) *Honk {
|
|
|
|
mt = strings.ToLower(mt)
|
|
|
|
mt = strings.ToLower(mt)
|
|
|
|
log.Printf("attachment: %s %s", mt, u)
|
|
|
|
log.Printf("attachment: %s %s", mt, u)
|
|
|
|
if mt == "image/jpeg" || mt == "image/png" ||
|
|
|
|
if mt == "image/jpeg" || mt == "image/png" ||
|
|
|
|
mt == "image/gif" || mt == "text/plain" {
|
|
|
|
mt == "text/plain" {
|
|
|
|
donk := savedonk(u, name, mt)
|
|
|
|
donk := savedonk(u, name, mt)
|
|
|
|
if donk != nil {
|
|
|
|
if donk != nil {
|
|
|
|
xonk.Donks = append(xonk.Donks, donk)
|
|
|
|
xonk.Donks = append(xonk.Donks, donk)
|
|
|
|