-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[APP-657] Add share list functionality #863
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay this is great. Good stuff
@@ -97,6 +97,10 @@ export class ListModel { | |||
return this.list?.creator.did === this.rootStore.me.did | |||
} | |||
|
|||
get isSubscribed() { | |||
return this.list?.viewer?.muted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be .muted
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh it might be, right. Just double check me on this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah for some reason it’s called muted in the lexicon but what it’s really trying to tell us if the user is subscribed to the list or not. the other code also treats it as "subscribed" and puts it in a variable within the components so this getter follows convention.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I think the logic is "this list is muted". Cool
(currently BLOCKED)no longer blocked, thanks @dholmsTo test, make sure you are on the
ansh/list-embed
branch fromatproto