diff --git a/action/action.go b/action/action.go index fdde0b9..b3dbd2d 100644 --- a/action/action.go +++ b/action/action.go @@ -3,6 +3,7 @@ package action import ( "encoding/json" "fmt" + "log" "strconv" "sync" "time" @@ -69,6 +70,7 @@ func (am *actionManager) SendMsg(reply *model.Reply) error { } func (am *actionManager) SendForward(reply *model.Reply) error { + log.Println(reply) am.sendMtx.Lock() defer am.sendMtx.Unlock() userID := strconv.FormatInt(reply.FromMsg.UserId, 10)