Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Commit

Permalink
Fix wrong function handle read (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
RuniVN authored and paked committed Aug 19, 2016
1 parent de3a5d0 commit 500eec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/bot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func main() {
})

// Setup a handler to be triggered when a message is read
client.HandleDelivery(func(m messenger.Read, r *messenger.Response) {
client.HandleRead(func(m messenger.Read, r *messenger.Response) {
fmt.Println("Read at:", m.Watermark().Format(time.UnixDate))
})

Expand Down

0 comments on commit 500eec9

Please sign in to comment.