Skip to content

Commit

Permalink
v0.3.0[publish]
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
  • Loading branch information
bigcat88 committed Sep 28, 2023
1 parent 3cacc59 commit c12bd13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions nc_py_api/_talk_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def leave_conversation(self, conversation: typing.Union[Conversation, str]) -> N
"""Removes yourself from the conversation.
.. note:: When the participant is a moderator or owner and there are no other moderators or owners left,
participant can not leave conversation.
participant cannot leave conversation.
:param conversation: conversation token or :py:class:`~nc_py_api.talk.Conversation`.
"""
Expand Down Expand Up @@ -419,7 +419,7 @@ def create_poll(
:param conversation: conversation token or :py:class:`~nc_py_api.talk.Conversation`.
:param question: The question of the poll.
:param options: Array of strings with the voting options.
:param hidden_results: Are the results hidden until the poll is closed and then only the summary is published.
:param hidden_results: Should results be hidden until the poll is closed and then only the summary is published.
:param max_votes: The maximum amount of options a participant can vote for.
"""
token = conversation.token if isinstance(conversation, Conversation) else conversation
Expand Down Expand Up @@ -493,7 +493,7 @@ def set_conversation_avatar(
:param avatar: Squared image with mimetype equal to PNG or JPEG or a tuple with emoji and optional
HEX color code(6 times ``0-9A-F``) without the leading ``#`` character.
.. note:: Color omit to fallback to the default bright/dark mode icon background color.
.. note:: When color omitted, fallback will be to the default bright/dark mode icon background color.
"""
require_capabilities("spreed.features.avatar", self._session.capabilities)
token = conversation.token if isinstance(conversation, Conversation) else conversation
Expand Down
2 changes: 1 addition & 1 deletion nc_py_api/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Version of nc_py_api."""

__version__ = "0.3.0.dev0"
__version__ = "0.3.0"

0 comments on commit c12bd13

Please sign in to comment.