Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-iphone
Commits
e57a36a9
Commit
e57a36a9
authored
Mar 16, 2021
by
DanmeiChen
Browse files
fix crash of null arrdess
parent
2d0af97d
Pipeline
#26565
failed with stage
in 1 minute and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Classes/ChatConversationInfoView.m
Classes/ChatConversationInfoView.m
+1
-1
No files found.
Classes/ChatConversationInfoView.m
View file @
e57a36a9
...
...
@@ -303,7 +303,7 @@ static UICompositeViewDescription *compositeDescription = nil;
}
cell
.
uri
=
_contacts
[
indexPath
.
row
];
LinphoneAddress
*
addr
=
linphone_address_new
(
cell
.
uri
.
UTF8String
);
cell
.
nameLabel
.
text
=
[
FastAddressBook
displayNameForAddress
:
addr
];
cell
.
nameLabel
.
text
=
(
addr
==
nil
?
cell
.
uri
:
[
FastAddressBook
displayNameForAddress
:
addr
]
)
;
[
cell
.
avatarImage
setImage
:[
FastAddressBook
imageForAddress
:
addr
]
bordered
:
YES
withRoundedRadius
:
YES
];
cell
.
controllerView
=
self
;
if
(
!
[
_admins
containsObject
:
cell
.
uri
])
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment