mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 10:17:56 +00:00
Fix potential crash with a bad group update body.
This commit is contained in:
@@ -258,7 +258,7 @@ public abstract class MessageRecord extends DisplayRecord {
|
||||
}
|
||||
return UpdateDescription.concatWithNewLines(newGroupDescriptions);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
} catch (IOException | IllegalArgumentException 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user