mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-06-19 08:35:19 +00:00
Suppress possible error of NullContentException on message.getContent()
This commit is contained in:
@ -127,8 +127,9 @@ public class ConversationMessage {
|
||||
*
|
||||
* @return The content
|
||||
*/
|
||||
@NonNull
|
||||
public String getContent() {
|
||||
return content;
|
||||
return content != null ? content : "";
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user