Skip to content

Commit

Permalink
missing space in toots
Browse files Browse the repository at this point in the history
  • Loading branch information
pushcx committed Feb 18, 2024
1 parent a0259d5 commit ac324c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/mastodon_post.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
tags = s.tags.pluck(:tag).map { |t| " #" + t }.join("")

via = if s.user.mastodon_username.present?
(s.user_is_author? ? "by" : "via") + " @#{s.user.mastodon_username}@#{s.user.mastodon_instance}"
(s.user_is_author? ? " by" : " via") + " @#{s.user.mastodon_username}@#{s.user.mastodon_instance}"
else
" "
end
Expand Down

0 comments on commit ac324c9

Please sign in to comment.