Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When serializing polls over OStatus, serialize poll options to text #10160

Merged

Conversation

ClearlyClaire
Copy link
Contributor

No description provided.

@@ -19,6 +19,10 @@ def format(status, **options)

raw_content = status.text

if status.poll && options[:inline_poll_options]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other way around is better

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean, checking the option then the poll? Or have it on by default? Changed it for the former.

@ClearlyClaire ClearlyClaire force-pushed the fixes/ostatus-include-poll-options branch from 54679ce to 4231b44 Compare March 5, 2019 09:57
@ClearlyClaire ClearlyClaire force-pushed the fixes/ostatus-include-poll-options branch from 4231b44 to 56177f1 Compare March 5, 2019 14:43
@Gargron Gargron merged commit 636db1f into mastodon:master Mar 5, 2019
@ClearlyClaire ClearlyClaire deleted the fixes/ostatus-include-poll-options branch March 14, 2019 13:16
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
…astodon#10160)

* When serializing polls over OStatus, serialize poll options to text

* Do the same for RSS feeds

* Use “[ ] ” as a prefix for poll options instead of “- ”
messenjahofchrist pushed a commit to Origin-Creative/mastodon that referenced this pull request Jul 30, 2021
…astodon#10160)

* When serializing polls over OStatus, serialize poll options to text

* Do the same for RSS feeds

* Use “[ ] ” as a prefix for poll options instead of “- ”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants