Skip to content

Commit

Permalink
fix change on function instead of attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Dec 22, 2020
1 parent ef5f2b3 commit 3b5e80c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 50 deletions.
12 changes: 7 additions & 5 deletions addressBooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ list([complete])

Gets a list of the user's address books, optionally including all contacts and mailing lists.

.. api-header::
:label: Changes in Thunderbird 85


.. api-member::
:name: Read-only address books are now returned as well as read-write books.

.. api-header::
:label: Parameters

Expand Down Expand Up @@ -369,11 +376,6 @@ A node representing an address book.
:type: (boolean)

Indicates if the object is read-only.

.. container:: api-member-inline-changes

:Changes in TB 85: It actually works now and returns ``true`` for read-only address books.



.. _addressBooks.NodeType:
Expand Down
12 changes: 7 additions & 5 deletions contacts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ quickSearch([parentId], searchString)

Gets all contacts matching ``searchString`` in the address book with the id ``parentId``.

.. api-header::
:label: Changes in Thunderbird 85


.. api-member::
:name: Read-only address books are now returned as well as read-write books.

.. api-header::
:label: Parameters

Expand Down Expand Up @@ -379,11 +386,6 @@ A node representing a contact in an address book.
:type: (boolean)

Indicates if the object is read-only.

.. container:: api-member-inline-changes

:Changes in TB 85: It actually works now and returns ``true`` for read-only address books.



.. _contacts.ContactProperties:
Expand Down
5 changes: 0 additions & 5 deletions mailingLists.rst
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,4 @@ A node representing a mailing list.
:type: (boolean)

Indicates if the object is read-only.

.. container:: api-member-inline-changes

:Changes in TB 85: It actually works now and returns ``true`` for read-only address books.


42 changes: 7 additions & 35 deletions overlay/addressBook.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
[
{
"namespace": "addressBooks",
"types": [
{
"name" : "AddressBookNode",
"properties": {
"readOnly": {
"changed": {
"85" : "It actually works now and returns ``true`` for read-only address books."
}
}
}
}
],
"functions": [
{
"name": "list",
"changed": {
"85" : "Read-only address books are now returned as well as read-write books."
},
"returns": {
"type": "array",
"items": {
Expand Down Expand Up @@ -52,6 +43,9 @@
},
{
"name": "quickSearch",
"changed": {
"85" : "Read-only address books are now returned as well as read-write books."
},
"returns": {
"type": "array",
"items": {
Expand Down Expand Up @@ -88,16 +82,6 @@
{
"id": "PropertyChange",
"added": 83
},
{
"name" : "ContactNode",
"properties": {
"readOnly": {
"changed": {
"85" : "It actually works now and returns ``true`` for read-only address books."
}
}
}
}
]
},
Expand Down Expand Up @@ -135,18 +119,6 @@
}
}
}
],
"types": [
{
"name" : "MailingListNode",
"properties": {
"readOnly": {
"changed": {
"85" : "It actually works now and returns ``true`` for read-only address books."
}
}
}
}
]
]
}
]

0 comments on commit 3b5e80c

Please sign in to comment.