Skip to content

Commit

Permalink
Update Linphone.java
Browse files Browse the repository at this point in the history
  • Loading branch information
devjva authored Feb 14, 2020
1 parent 681c9de commit b1a50b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/src/Linphone.java
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public static synchronized void getRemoteContact (final CallbackContext callback
try {
Log.d("Get Remote Contact");
LinphoneCall call = mLinphoneManager.getLc().getCurrentCall();
callbackContext.success(call.getRemoteContact());
callbackContext.success(call.getRemoteContact().split("@")[0].split(":")[1]);
} catch (Exception e) {
Log.d("Update Error", e.getMessage());
callbackContext.success('0');
Expand Down

0 comments on commit b1a50b5

Please sign in to comment.