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

profile & expose: fix integration with contacts #4217

Merged
merged 3 commits into from
Nov 22, 2024

Conversation

mikolajpp
Copy link
Collaborator

There were some outdated type references in %expose that were preventing the upgrade. Additionally, both %profile and %expose were using the removed /contact API endpoint. For now we just migrate to subscribing to /news and filtering on our own profile updates. We should migrate these two agents to use new %contacts API soon.

@mikolajpp
Copy link
Collaborator Author

Fixes TLON-3253

Copy link
Member

@Fang- Fang- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The import name change here seems unwarranted/out of scope.

Also, don't both of these agents need +on-load logic, to tear down the old subscription and set up the new one?

desk/app/expose.hoon Outdated Show resolved Hide resolved
@mikolajpp mikolajpp requested a review from Fang- November 22, 2024 15:44
Copy link
Member

@Fang- Fang- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you!

?- -.sign
%poke-ack !!
%kick [[%pass /contacts %agent [our.bowl %conacts] %watch /contact]~ this]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol, oops, good catch

@Fang- Fang- merged commit fa3a49c into develop Nov 22, 2024
1 check passed
@Fang- Fang- deleted the mp/contacts-activity-backend branch November 22, 2024 18:03
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

Successfully merging this pull request may close these issues.

2 participants