Skip to content

Add deviceId when like thread / comment #27

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

Open
guid3d opened this issue Jan 31, 2023 · 0 comments
Open

Add deviceId when like thread / comment #27

guid3d opened this issue Jan 31, 2023 · 0 comments

Comments

@guid3d
Copy link
Owner

guid3d commented Jan 31, 2023

Problem: when we like thread/comment, it doesn't know that this device has already like this object
Implement:

  • Add deviceId to an array "likeByDevices" and when we can count like by length of this array
  • Check if the list contain the deviceId -> setPressedLike(true), else -> setPressesdLike(false)
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

1 participant