def get_reply_visibility(self, status_dict):
        """Given a status dict, return the visibility that should be used.
        This behaves like Mastodon does by default.
        """
        # Visibility rankings (higher is more limited)
        visibility = ("public", "unlisted", "private", "direct")

        default_visibility = visibility.index(self.default_visibility)
        status_visibility = visibility.index(status_dict["visibility"])

        return visibility[max(default_visibility, status_visibility)]
Given a status dict, return the visibility that should be used.
        This behaves like Mastodon does by default.