Skip to content

Commit

Permalink
chore(prj): code format
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Sep 30, 2023
1 parent 703890e commit ccc81df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/telegram.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (t telegram) ParseMessageLink(ctx context.Context, manager *peers.Manager,
case 4:
// https://t.me/c/1492447836/251015/251021

if paths[0]!="c" {
if paths[0] != "c" {
return nil, 0, fmt.Errorf("invalid message link")
}

Expand Down

0 comments on commit ccc81df

Please sign in to comment.