kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix potential crash with a bad group update body.
rodzic
573c0fad7f
commit
8df86962e9
|
@ -258,7 +258,7 @@ public abstract class MessageRecord extends DisplayRecord {
|
||||||
}
|
}
|
||||||
return UpdateDescription.concatWithNewLines(newGroupDescriptions);
|
return UpdateDescription.concatWithNewLines(newGroupDescriptions);
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException | IllegalArgumentException e) {
|
||||||
Log.w(TAG, "GV2 Message update detail could not be read", e);
|
Log.w(TAG, "GV2 Message update detail could not be read", e);
|
||||||
return staticUpdateDescription(context.getString(R.string.MessageRecord_group_updated), R.drawable.ic_update_group_16);
|
return staticUpdateDescription(context.getString(R.string.MessageRecord_group_updated), R.drawable.ic_update_group_16);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue