mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Fix crash at launch
This commit is contained in:
parent
3901838a22
commit
a33532f512
1 changed files with 1 additions and 1 deletions
|
|
@ -914,7 +914,7 @@ public final class LinphoneUtils {
|
|||
|
||||
for (ChatRoom cr : lc.getChatRooms()) {
|
||||
for (Participant pa : cr.getParticipants()) {
|
||||
if (pa.getAddress().asStringUriOnly().compareTo(sipUri.asStringUriOnly()) == 0) {
|
||||
if (pa.getAddress() != null && pa.getAddress().asStringUriOnly().compareTo(sipUri.asStringUriOnly()) == 0) {
|
||||
return pa.getSecurityLevel();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue