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

Update delete message flow #442

Closed
kolosovpetro opened this issue Mar 16, 2023 · 0 comments
Closed

Update delete message flow #442

kolosovpetro opened this issue Mar 16, 2023 · 0 comments

Comments

@kolosovpetro
Copy link
Member

kolosovpetro commented Mar 16, 2023

  1. User clicks delete message on UI
  2. Message disappears from UI
  3. If message is last in chat -> chat updates last message text, display name, time
  4. API request goes
  5. In real-time method: if message is self skip UI update
  6. For every other chat member: chat updates last message text, display name, time

TODO:

  • Rename method deleteMessage -> onDeleteMessageClick
ketteiteki added a commit to ketteiteki/MangoMessengerAPI that referenced this issue Mar 19, 2023
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