Add check for call link prefix before parsing.
This commit is contained in:
parent
b6828b54ca
commit
e84d46dae7
1 changed files with 4 additions and 0 deletions
|
@ -335,6 +335,10 @@ public class CommunicationActions {
|
|||
}
|
||||
|
||||
public static void handlePotentialCallLinkUrl(@NonNull FragmentActivity activity, @NonNull String potentialUrl) {
|
||||
if (!CallLinks.isCallLink(potentialUrl)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!FeatureFlags.adHocCalling()) {
|
||||
Toast.makeText(activity, R.string.CommunicationActions_cant_join_call, Toast.LENGTH_SHORT).show();
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue