feat: save contact to addressbook (#3533)
* feat: add respectfull modules * feat: add saveOrEditAddressbookContact function * feat: add deleteAddressbookContact function * refactor: import necessary type for return value * style: fix typo * docs: add ocs * style: fix typo
This commit is contained in:
parent
494a18ddb2
commit
d29eaf7def
1 changed files with 43 additions and 0 deletions
|
|
@ -141,6 +141,10 @@ exports.ExposeStore = () => {
|
|||
...window.require('WAWebApiMembershipApprovalRequestStore'),
|
||||
...window.require('WASmaxGroupsMembershipRequestsActionRPC')
|
||||
};
|
||||
window.Store.AddressbookContactUtils = {
|
||||
...window.require('WAWebSaveContactAction'),
|
||||
...window.require('WAWebDeleteContactAction')
|
||||
};
|
||||
|
||||
if (!window.Store.Chat._find || !window.Store.Chat.findImpl) {
|
||||
window.Store.Chat._find = e => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue