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

Jared does not trigger webhook for all messages #86

Open
paul-brenner opened this issue Oct 30, 2023 · 2 comments
Open

Jared does not trigger webhook for all messages #86

paul-brenner opened this issue Oct 30, 2023 · 2 comments
Labels

Comments

@paul-brenner
Copy link

Jared only triggers a webhook for some messages. I believe this is because in MacOS versions from the last few years, Apple has started hiding more of the details of the messages in the encrypted AttributeBody column leaving the text column as None. I'm thinking somewhere around here that blank text column is causing Jared to ignore those messages.

This Reddit Thread has multiple options of how to handle encrypted messages. Probably the most relevant to Jared would be this solution in objective C.

I'm going to try some methods to work around this since all I'm really trying to do is get the GUID for each message sent by triggering Jared via API. But I'm raising it incase anyone else is confused or if @ZekeSnider has already encountered this and has some helpful insight to share about why the solutions I'm linking to may fail.

@ZekeSnider ZekeSnider added the bug label Oct 31, 2023
@ZekeSnider
Copy link
Owner

Thanks for filing the issue! I had not run Jared on the latest version of Ventura or Sonoma, so this has probably been an issue for a while. Thanks for linking the obj-c code, I will integrate it when I get a chance.

@paul-brenner
Copy link
Author

I wanted API calls to Jared to return details about the resulting message Jared sends (specifically that message's guid), so I hacked a version that does that (which required making the above mentioned changes to decode AttributeBody). Mostly I hijacked the script and ideas from this repository which the author of that SO answer (@stephancasas) created. I'm pretty new to swift and this is my first time doing anything with macos apps, so I'm not sure that I'm capable of creating a clean PR that you would actually want to merge.

But if you think there would be value in seeing what I did to see if there is anything worth salvaging, I'll create the PR.

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

No branches or pull requests

2 participants