Signal-Android
Signal-Android copied to clipboard
Fixes #13936 - Finish StoryActivity if Story was already deleted
Closes #13936
First time contributor checklist
- [x] I have read how to contribute to this project
- [x] I have signed the Contributor License Agreement
Contributor checklist
- [x] I am following the Code Style Guidelines
- [x] I have tested my contribution on these devices:
- Device A, Android X.Y.Z
- Device B, Android Z.Y
- Virtual device W, Android Y.Y.Z
- [x] My contribution is fully baked and ready to be merged as is
- [x] I ensure that all the open issues my contribution fixes are mentioned in the commit message of my first commit using the
Fixes #1234syntax
Description
Fixes: Closes the StoryActivty if onQuoteClick has a deleted message's ID.
Improvements:
-
Start this StoryActivity for result, and if the result from StoryViewerFragment says that the story message is deleted, then after receiving that result in ChaFragment, update that paticular message's state. Should I use onActivityResult? or launcher? Is it fine to update the message state from this callback?
-
Add a callback listening to deletion of story.