Skip to content

Commit

Permalink
Fixed cannot publish to telegram channel from other services
Browse files Browse the repository at this point in the history
  • Loading branch information
waybackarchiver committed Feb 2, 2022
1 parent f3c31de commit 7fcea3a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions publish/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ func To(ctx context.Context, cols []wayback.Collect, args ...string) {
if rev, ok := ctx.Value(FlagTelegram).(*telegram.Bot); ok {
bot = rev
}
if bot == nil {
return
}
pub := NewTelegram(bot)
process(ctx, pub, cols, args...)
}
Expand Down

0 comments on commit 7fcea3a

Please sign in to comment.