GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    feld (feld@bikeshed.party)'s status on Wednesday, 01-Feb-2023 08:19:17 JST feld feld
    • Alex Gleason
    @alex is this some weird Mastodon bug you're fixing or is this just drunk coding because this change fixes the "polls show options with thousands of a percent each" bug that I see all the time
    In conversation Wednesday, 01-Feb-2023 08:19:17 JST from bikeshed.party permalink

    Attachments


    1. https://media.bikeshed.party/pleroma/dcdf05ce066233b9ff92369ebcb2061c21fec797d44e9a4171863ea4afe3733e.png
    • Embed this notice
      faried nawaz (fn@p.node.pk)'s status on Wednesday, 01-Feb-2023 08:19:16 JST faried nawaz faried nawaz
      in reply to
      • Alex Gleason
      @feld @alex i see that bug in husky.
      In conversation Wednesday, 01-Feb-2023 08:19:16 JST permalink
    • Embed this notice
      feld (feld@bikeshed.party)'s status on Wednesday, 01-Feb-2023 08:26:44 JST feld feld
      in reply to
      • Alex Gleason
      but you shouldn't be counting the number of people that voted, only the votes

      i think that's why this code goes wonky sometimes. the number of votes doesn't always match the number of people maybe due to federation issues, idk

      setting pollVotesCount to the number of voters and falling back to number of votes just seems wrong. it should only ever be the number of votes.
      In conversation Wednesday, 01-Feb-2023 08:26:44 JST permalink
    • Embed this notice
      Alex Gleason (alex@gleasonator.com)'s status on Wednesday, 01-Feb-2023 08:26:44 JST Alex Gleason Alex Gleason
      in reply to
      • Marcin Mikołajczak

      @feld I think voters_count and votes_count are conditional depending on whether it’s a multi-select poll. @mkljczk

      In conversation Wednesday, 01-Feb-2023 08:26:44 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.