-
-
Notifications
You must be signed in to change notification settings - Fork 299
Simplifying pinned messages #5807
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
Conversation
|
More compact now and expected to paddings 👍 Could be a follow up for sure, any improvement would be great to get in - for @mahibi to decide if though. BTW web interface doesn't even show who pinned it, no? |
|
i will take over and modify this to get it in for RC2 |
|
@rapterjet2004 i modified the PR, hope thats okay for you.. I noticed the ANR was not yet fixed by just using the plain Composable! However one ANR still happened to me, but it was during heavy testing (unpin ~30 messages in a row as fast as i could). This should happen because the unpin actions triggers getRoom. The scope/dispatcher handling should be improved in the future together with better MVVM architecture, but it's nothing for this PR |
|
@rapterjet2004 i cant set you as reviewer. Feel free to have a look.. |
|
/backport to stable-23.0 |
|
approve |
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
…nned message requests getConversationFlow emits too often, causing multiple overlapping calls to getIndividualMessageFromServer (i guess this caused the ANR issues). Using flatMapLatest ensures that only the latest conversation triggers a network call and cancels previous requests. This should hopefully avoid the ANR issues. TODO: improve architecture -> reduce unnecessary getConversationFlow triggers -> better MVVM (too many things are inside Activity) I wont do further changes now to avoid too many changes for v23RC2 Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
b4bb0e8 to
a2471be
Compare
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
a2471be to
8ab7068
Compare
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/5807.apk |

This PR will
🖼️ Screenshots
message from other...
message from myself
🏁 Checklist
/backport to stable-xx.x