mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-21 11:48:34 +00:00
Add 'leave group' functionality. Includes other bug fixes.
This commit is contained in:
@@ -41,9 +41,9 @@ public class GroupUtil {
|
||||
|
||||
try {
|
||||
String description = "";
|
||||
GroupContext context = GroupContext.parseFrom(Base64.decode(encodedGroup));
|
||||
List<String> members = context.getMembersList();
|
||||
String title = context.getName();
|
||||
GroupContext context = GroupContext.parseFrom(Base64.decode(encodedGroup));
|
||||
List<String> members = context.getMembersList();
|
||||
String title = context.getName();
|
||||
|
||||
if (!members.isEmpty()) {
|
||||
description += org.whispersystems.textsecure.util.Util.join(members, ", ") + " joined the group.";
|
||||
|
Reference in New Issue
Block a user