mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 18:30:20 +01:00
Add 10s timeout to user facing CDSI requests.
This commit is contained in:
committed by
Greyson Parrelli
parent
8d20669e46
commit
36fc9aa82a
@@ -723,7 +723,7 @@ public class ConversationParentFragment extends Fragment
|
||||
case ADD_CONTACT:
|
||||
SimpleTask.run(() -> {
|
||||
try {
|
||||
ContactDiscovery.refresh(requireContext(), recipient.get(), false);
|
||||
ContactDiscovery.refresh(requireContext(), recipient.get(), false, TimeUnit.SECONDS.toMillis(10));
|
||||
} catch (IOException e) {
|
||||
Log.w(TAG, "Failed to refresh user after adding to contacts.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user