mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-11 18:10:44 +00:00
Fix a crashing bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
28d8f54c58
commit
6b91079c49
@ -15,8 +15,8 @@ android {
|
||||
targetSdkVersion 27
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
|
||||
versionCode 53
|
||||
versionName "3.0.0beta2"
|
||||
versionCode 54
|
||||
versionName "3.0.0beta3"
|
||||
|
||||
flavorDimensions "default"
|
||||
renderscriptTargetApi 19
|
||||
|
@ -80,6 +80,10 @@ public class EnumSystemMessageTypeConverter extends StringBasedTypeConverter<Cha
|
||||
@Override
|
||||
public String convertToString(ChatMessage.SystemMessageType object) {
|
||||
|
||||
if (object == null) {
|
||||
return "";
|
||||
}
|
||||
|
||||
switch (object) {
|
||||
case CONVERSATION_CREATED:
|
||||
return "conversation_created";
|
||||
|
Loading…
Reference in New Issue
Block a user