Closed selyod-ka closed 2 years ago
Hi!
What version are using? 1.0.2
?
Would you mind trying out 1.0.3rc14
? There was a regression fixed about visibility when defined as a global mapping in the config, which I'm not sure if it's your case.
You can install the release candidate like so:
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pleroma-bot==1.0.3rc14
If still doesn't work as expected, report back and please provide your config (excluding any sensitive data, like tokens and so on) and I'll try to reproduce it on my end.
Hey!
Yes, I'm on 1.0.2
and I'm using 'visibility' in the global mapping.
Have not tried 1.0.3rc14
, but downloaded it locally and checked if 'visibility' is a key of 'default_cfg_attributes'. As that is the case, I'm sure this issue is fixed in 1.0.3rc14
.
Thanks.
Even so, if you find it doesn't work as expected on 1.0.3rc14
(or 1.0.3 stable, whenever it releases), feel free to open a new issue and I'll check it out.
Have a nice day!
Hey, thanks for your work on pleroma-bot!
I noticed that all toots get the visibility "unlisted" despite stated otherwise in my config.yml. In my understanding, the reason is that
default_cfg_attributes
misses the key "visibility" and thereforeif not hasattr(self, "visibility"):
is always true, i.e. "visibility" is set to "unlisted".