Skip to content

Commit dd987ef

Browse files
committed
typo fixes
Signed-off-by: Alexander Piskun <[email protected]>
1 parent 0c783a6 commit dd987ef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file.
88

99
- CalendarAPI with the help of [caldav](https://pypi.org/project/caldav/) package. #136
1010
- [NotesAPI](https://github.com/nextcloud/notes) #137
11-
- TalkAPI: `list_participants` method to list conversation participants. #141
11+
- TalkAPI: `list_participants` method to list conversation participants. #142
1212

1313
### Fixed
1414

nc_py_api/talk.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class ListableScope(enum.IntEnum):
9090
class NotificationLevel(enum.IntEnum):
9191
"""The notification level for the user.
9292
93-
.. note:: Default: ``1`` for one-to-one conversations, ``2`` for other conversations.
93+
.. note:: Default: ``1`` for ``one-to-one`` conversations, ``2`` for other conversations.
9494
"""
9595

9696
DEFAULT = 0
@@ -467,7 +467,7 @@ def can_start_call(self) -> bool:
467467
def can_delete_conversation(self) -> bool:
468468
"""Flag if the user can delete the conversation for everyone.
469469
470-
.. note: Not possible without moderator permissions or in one-to-one conversations.
470+
.. note: Not possible without moderator permissions or in ``one-to-one`` conversations.
471471
"""
472472
return bool(self._raw_data.get("canDeleteConversation", False))
473473

@@ -621,7 +621,7 @@ def recording_status(self) -> CallRecordingStatus:
621621
def status_clear_at(self) -> typing.Optional[int]:
622622
"""Unix Timestamp representing the time to clear the status.
623623
624-
.. note:: Available only for One-to-One conversations.
624+
.. note:: Available only for ``one-to-one`` conversations.
625625
"""
626626
return self._raw_data.get("statusClearAt", None)
627627

0 commit comments

Comments
 (0)