mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-12 02:19: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
|
targetSdkVersion 27
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
|
|
||||||
versionCode 53
|
versionCode 54
|
||||||
versionName "3.0.0beta2"
|
versionName "3.0.0beta3"
|
||||||
|
|
||||||
flavorDimensions "default"
|
flavorDimensions "default"
|
||||||
renderscriptTargetApi 19
|
renderscriptTargetApi 19
|
||||||
|
@ -80,6 +80,10 @@ public class EnumSystemMessageTypeConverter extends StringBasedTypeConverter<Cha
|
|||||||
@Override
|
@Override
|
||||||
public String convertToString(ChatMessage.SystemMessageType object) {
|
public String convertToString(ChatMessage.SystemMessageType object) {
|
||||||
|
|
||||||
|
if (object == null) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
switch (object) {
|
switch (object) {
|
||||||
case CONVERSATION_CREATED:
|
case CONVERSATION_CREATED:
|
||||||
return "conversation_created";
|
return "conversation_created";
|
||||||
|
Loading…
Reference in New Issue
Block a user