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

chat pnd_time is not set on new chat #37

Closed
alonsoac opened this issue Jan 27, 2023 · 3 comments
Closed

chat pnd_time is not set on new chat #37

alonsoac opened this issue Jan 27, 2023 · 3 comments

Comments

@alonsoac
Copy link

New chat comes from FB. chat.pnd_time is set to 0. This for example causes condition like {time}-{args.chat.pnd_time} > 60 to be true immediately on new chat.

@remdex
Copy link
Contributor

remdex commented Jan 27, 2023

Thius is related to your webhook configuration. Not related to extension. Extend your check that it would ignore facebook chats.

@remdex remdex closed this as completed Jan 27, 2023
@alonsoac
Copy link
Author

We do not want to ignore FB chats, we want to know how long they have been pending. Isn't pnd_time supposed to be set on any kind of chat?

remdex added a commit that referenced this issue Jan 27, 2023
remdex added a commit that referenced this issue Jan 27, 2023
@remdex
Copy link
Contributor

remdex commented Jan 27, 2023

You can try changes I just pushed, perhaps will help. If not you will have to check that it's not FB chat just :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants