We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baa4d4c commit 7cb7b88Copy full SHA for 7cb7b88
pyrogram/methods/stories/post_story.py
@@ -212,8 +212,7 @@ async def post_story(
212
213
privacy_rules = []
214
if privacy_settings:
215
- for privacy_rule in (privacy_settings or []):
216
- privacy_rules += (await privacy_rule.write(self))
+ privacy_rules += (await privacy_rule.write(self))
217
else:
218
privacy_rules += (await (types.StoryPrivacySettingsEveryone()).write(self))
219
0 commit comments