Compare commits

..

No commits in common. "v1.0.3" and "master" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View File

@ -52,7 +52,6 @@ func (a *Account) Receive() {
panic("channel closed")
}
log.Infoln("pushing message")
a.Push(m)
}
}

View File

@ -35,7 +35,6 @@ func (svc *Service) QueueMessage(ctx context.Context, msg *pb.Message) (*pb.Resp
if stream == "" {
acct = svc.Default
} else if acct, ok = svc.Accounts[stream]; !ok {
log.Errf("invalid stream name '%s' in message", stream)
return &pb.Response{
Timestamp: time.Now().Unix(),
Id: uuid.NewString(),
@ -46,7 +45,7 @@ func (svc *Service) QueueMessage(ctx context.Context, msg *pb.Message) (*pb.Resp
qmsg := core.NewMessage(msg)
if qmsg == nil {
log.Errln("server: invalid message received, dropping")
log.Err("server: invalid message received, dropping")
return &pb.Response{
Timestamp: time.Now().Unix(),
Id: uuid.NewString(),