diff --git a/library/clientclass.py b/library/clientclass.py index ae90f8ddbf..4331b5b110 100644 --- a/library/clientclass.py +++ b/library/clientclass.py @@ -166,9 +166,14 @@ def _post(self, text=None, file_ids=None): if text is not None: text = emoji.emojize(text, language="alias") + visibility = self.message["visibility"] + + if self.message["visibility"] == "public": + visibility = NoteVisibility.HOME + self.client.notes_create( text=text, - visibility=NoteVisibility.HOME, + visibility=visibility, reply_id=self.message["id"], file_ids=file_ids, )