Fix error

This commit is contained in:
Margaux Clerc 2015-08-05 11:19:44 +02:00
parent 023d7844f0
commit d3b2d6c2aa

View file

@ -554,6 +554,9 @@ public class StatusFragment extends Fragment {
CheckBox checkBox = (CheckBox) v;
if (checkBox.isChecked()) {
String tag = (String) checkBox.getTag();
if(tag.startsWith("sip:")) {
tag = tag.substring(4);
}
String sipAddress = tag.split(":")[0];
int accountPosition = Integer.parseInt(tag.split(":")[1]);