-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Improve error handling when group members unregister #5318
Improve error handling when group members unregister #5318
Conversation
Added information on whether a group member has unregistered to the |
👍 |
0006a50
to
e73f1cd
Compare
How about formatting the contact name with strikethrough? (If it's simple enough to do) |
I think its a bit better, no? This dialog is so ugly anyway... 😱 I started working on improving this, but didn't had the time to finish it yet. Hopefully I'm less busy soon 😉 @2-4601 good idea! |
@agrajaghh cool, a rework of this thing would be nice for sure! |
should be possible with a spannable and http://developer.android.com/reference/android/graphics/Paint.html#STRIKE_THRU_TEXT_FLAG I think edit: or http://developer.android.com/reference/android/text/style/StrikethroughSpan.html |
i'd like it to just not display any error state when someone is unregistered |
@haffenloher What happens in this scenario:
Is it going to offer the option to send again to that contact? |
oh no I mean I don't want any state tracking at all. everything's the same, except you don't get an error when someone in the group has unregistered |
acf25c8
to
06b02ab
Compare
Oops... okay, I removed all the other stuff and force-pushed. This is just a tiny 10-line change now. |
database.markAsPush(messageId); | ||
|
||
notifyMediaMessageDeliveryFailed(context, messageId); | ||
if (failures.isEmpty() && e.getUntrustedIdentityExceptions().isEmpty()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (e.getNetworkExceptions().isEmpty() && e.getUntrustedIdentityExceptions().isEmpty() { ...
Fixes signalapp#2408 Fixes signalapp#4550 Closes signalapp#5318 // FREEBIE
06b02ab
to
1b17989
Compare
@moxie0 thanks! that looks better. |
Contributor checklist
FREEBIE
in my commit messageDescription
StoreUnregisteredUser
s in the DB (just likeNetworkFailure
s /IdentityKeyMismatch
es) and display an error text for them in the message detailsAdd a "More info" button to theMessageRecipientListItem
of the unregistered recipient which opens an AlertDialog, informing the user of the problemAfter acknowledging / closing the dialog,group messages to this recipient no longer fail (in the UI)Screenshots
Edit: These are all obsolete

Fixes #2408
Fixes #4550