* Making sure we update the config when reuploading an avatar as a way to keep the file server image alive
* Wrong error type
* PR feedback - cleaned up download usage
* WIP
* Implemented sent/sending/received behaviour
* Adding some left behind changes
* Make sure colons are added where needed in message info & that we don't show sending... AND an error msg
* Cleanup imports
* PR feedback
---------
Co-authored-by: alansley <aclansley@gmail.com>
* Re-scroll to bottom after click on OG msg of reply fixed & message highlighting added to match iOS
* Fixing UI issues
Making sure the glow isn't clipped
Scrolling past the quoted view so that it isn't right at the top
* Consolitate recycler view scroll & highlight functionality into a single scrollListener
* Fix comment typo
* Scroll past targeted messages by a given offset in pixels rather than in messages
* Made the linearSmoothScroller lazy and tidied up
* Removed unused property
* Precalculate scroll offset for scroll-target messages
---------
Signed-off-by: alansley <aclansley@gmail.com>
Co-authored-by: alansley <aclansley@gmail.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>
* Centralising username access
* Centralising username logic
* Removing ContactUtil
* Cleaning up shortString
* Removed address.serialize as toString is the same thing, couple of methods converted to expression-bodied format & added a mock for username-utils to the ConversationViewModelTest class
---------
Co-authored-by: ThomasSession <thomas.r@getsession.org>
Co-authored-by: alansley <aclansley@gmail.com>
* Centralising username access
* Centralising username logic
* Removing ContactUtil
* Cleaning up shortString
* Making sure the name doesn't overflow in a message view
* Using Lazy to avoid dependency cycle
* SES-3303 - proper URL for groups banner
* SES-3301 - fixing display of legacy group control mesasges
* SES-3304 - No admin state dialogs while DEPRECATED
Updated debug menu with confirm dialog when changing deprecation state
* SES-3307 fixing legacy user view
* SES-3308 - not overwritting the last character in group banners
* Using the new API for the photo picker
* Using the modern version of the photo picker
* Proper way to get images
* Sorting folders by recency
* We shouldn't reuse the savedstate but instead rely on our custom caching
* Clean up
* PR clean up