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:
alechkos 2025-05-30 16:39:32 +03:00 • committed by GitHub
commit d29eaf7def
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 => {