mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-23 22:09:30 +00:00
Suppress possible error of NullContentException on message.getContent()
This commit is contained in:
parent
3a70883eff
commit
c0f62d4d72
@ -127,8 +127,9 @@ public class ConversationMessage {
|
||||
*
|
||||
* @return The content
|
||||
*/
|
||||
@NonNull
|
||||
public String getContent() {
|
||||
return content;
|
||||
return content != null ? content : "";
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user