Skip to content

Commit

Permalink
twitter: typo in note quotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Brawl345 committed May 7, 2024
1 parent d0ad3c5 commit 59b43bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/twitter/twitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ func (p *Plugin) OnStatus(b *gotgbot.Bot, c plugin.GobotContext) error {
}

if len(tweet) > MaxNoteLength {
tweet = fmt.Sprintf("%s...\n<a href=\"https://twitter.com/%s/status/%s\">Zitat Weiterlesen...</a>",
tweet = fmt.Sprintf("%s...\n<a href=\"https://twitter.com/%s/status/%s\">Zitat weiterlesen...</a>",
utils.Escape(tweet[:MaxNoteLength]),
quoteResultSub.Core.UserResults.Result.Legacy.ScreenName,
quoteResultSub.RestId,
Expand Down

0 comments on commit 59b43bb

Please sign in to comment.