mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Merge pull request #2415 from mcginty/empty-group-updates
fix empty group update messages
This commit is contained in:
commit
8031c788d9
@ -51,7 +51,11 @@ public class GroupUtil {
|
||||
description.append(context.getString(R.string.GroupUtil_title_is_now, title));
|
||||
}
|
||||
|
||||
return description.toString();
|
||||
if (description.length() > 0) {
|
||||
return description.toString();
|
||||
} else {
|
||||
return context.getString(R.string.GroupUtil_group_updated);
|
||||
}
|
||||
} catch (InvalidProtocolBufferException e) {
|
||||
Log.w("GroupUtil", e);
|
||||
return context.getString(R.string.GroupUtil_group_updated);
|
||||
|
Loading…
Reference in New Issue
Block a user