invoke Inbox method in a goroutine

This commit is contained in:
nevalla 2014-08-29 23:16:12 +03:00
parent 299b9619e1
commit 5cab5e7e00

View file

@ -85,5 +85,6 @@ func (f *Flowdock) send(fromAddress, subject, message string, tags []string) err
c := flowdock.Client{Token: f.Token, Source: f.Source, FromName: "drone.io", FromAddress: fromAddress, Tags: tags}
return c.Inbox(subject, message)
go c.Inbox(subject, message)
return nil
}