Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PLUS] - Not getting value for isMyContact field in JSON data #125

Open
mehmetcoskun opened this issue Jul 3, 2023 · 5 comments
Open

[PLUS] - Not getting value for isMyContact field in JSON data #125

mehmetcoskun opened this issue Jul 3, 2023 · 5 comments
Labels
enhancement New feature or request patron:ADVANCED

Comments

@mehmetcoskun
Copy link

Issue Description

JSON Example

{
    "id": "1234567890",
    "isBusiness": false,
    "isEnterprise": false,
    "name": "John Doe",
    "shortName": "John",
    "type": "in",
    "isBlocked": false
}

The JSON data above does not include the value for the isMyContact field.

Expected Behavior

I expect to receive the isMyContact value in the JSON data.

@allburov
Copy link
Contributor

allburov commented Jul 4, 2023

Hi!

  1. What is the payload for? Is it a "message" webhook data?
  2. Does the field disappear or there always was no such field?
  3. Do you use default engine?

@mehmetcoskun
Copy link
Author

Hi!

  1. It is a /api/contacts/all response
  2. The JSON data does not include the isMyContact field at all.
  3. Current Engine: WEBJS

@allburov
Copy link
Contributor

allburov commented Jul 4, 2023

Hm, I'm not sure but I believe the endpoint show only your contacts, doesn't it?
I'll look at this anyway a bit later!

@mehmetcoskun
Copy link
Author

mehmetcoskun commented Jul 4, 2023

No, it also shows people in the group who are not in my contacts, until the previous update everything was working, there was a value like isMyContact but now there is no value and it would be nice if there was a parsing like isGroup

@allburov
Copy link
Contributor

allburov commented Jul 4, 2023

Got it, thank you for the details!

@allburov allburov added the enhancement New feature or request label Jul 5, 2023
@allburov allburov added dependencies Pull requests that update a dependency file and removed dependencies Pull requests that update a dependency file labels Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request patron:ADVANCED
Projects
None yet
Development

No branches or pull requests

2 participants