IndiePass / indiepass-android

An open social app with support for IndieWeb, Mastodon, Pleroma and Pixelfed.
https://indigenous.marksuth.dev
GNU General Public License v3.0
102 stars 7 forks source link

Reads are disabled, although my Micropub server advertises support #410

Open jamietanna opened 3 years ago

jamietanna commented 3 years ago

Describe the bug

When enabling the setting Hide post types, the ability to post a read is disabled.

To Reproduce

See additional context for q=config responses.

Expected behavior

Publishing reads would be possible.

Screenshots N/A

Smartphone (please complete the following information):

Additional context

I have tried with the following in my q=config:

{
  "post-types": [
    {
      "h": "entry",
      "name": "Reading",
      "properties": [
        "published",
        "read-of",
        "read-status"
      ],
      "required-properties": [
        "published",
        "read-of",
        "read-status"
      ],
      "type": "read"
    },
  ]
}

And

{
  "post-types": [
    {
      "h": "entry",
      "name": "Reading",
      "properties": [
        "published",
        "read-of",
        "read-status"
      ],
      "required-properties": [
        "published",
        "read-of",
        "read-status"
      ],
      "type": "reads"
    },
  ]
}

But neither work :thinking: Happy to be told there's a different type we're using!

swentel commented 3 years ago

Type should be "read" so the first one should be fine normally. I'm assuming you refreshed the configuration as well in Indigenous?

This is about the main menu right? Wanted to check that, because there's also a 'read' configuration option for the reader (as there's such a close difference to bookmark too, I made those responses for every item optional, and response types do not care about the post-types variable (yet)).

jamietanna commented 3 years ago

Yep, I've just retried it, making sure to refresh config, and it still doesn't show up.

Yep, this is from the main menu's Write option

swentel commented 3 years ago

Just tried it with my micropub server adding 'read', and it showed up in the Write section (after a restart of indigenous too, that' something I need to fix). When I disabled it again on my server, refreshed config, it was gone again too.

So not clue why this is broken. Apart from maybe the fact that you already run Android 11? If so, I'll have to test with an emulator as I'm still on 9.