mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-05-24 14:14:31 +00:00
Compare commits
5 Commits
c03a4a196f
...
7e0e52b7de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e0e52b7de | ||
|
|
313f5392ef | ||
|
|
a09805236a | ||
|
|
8dae066046 | ||
|
|
d4ad948d14 |
@ -4,7 +4,7 @@ junit = "6.0.2"
|
||||
|
||||
[libraries]
|
||||
bouncycastle = "org.bouncycastle:bcprov-jdk18on:1.83"
|
||||
jackson-databind = "com.fasterxml.jackson.core:jackson-databind:2.20.2"
|
||||
jackson-databind = "com.fasterxml.jackson.core:jackson-databind:2.21.1"
|
||||
argparse4j = "net.sourceforge.argparse4j:argparse4j:0.9.0"
|
||||
dbusjava = "com.github.hypfvieh:dbus-java-transport-native-unixsocket:5.0.0"
|
||||
zxing = "com.google.zxing:core:3.5.4"
|
||||
|
||||
@ -739,7 +739,7 @@ public class GroupHelper {
|
||||
if (banMembers != null) {
|
||||
existingRemoveMembers.addAll(banMembers);
|
||||
}
|
||||
existingRemoveMembers.retainAll(group.getMembers());
|
||||
existingRemoveMembers.retainAll(group.getMemberRecipientIds());
|
||||
if (members != null) {
|
||||
existingRemoveMembers.removeAll(members);
|
||||
}
|
||||
@ -765,7 +765,7 @@ public class GroupHelper {
|
||||
|
||||
if (admins != null) {
|
||||
final var newAdmins = new HashSet<>(admins);
|
||||
newAdmins.retainAll(group.getMembers());
|
||||
newAdmins.retainAll(group.getMemberRecipientIds());
|
||||
newAdmins.removeAll(group.getAdminMemberRecipientIds());
|
||||
if (!newAdmins.isEmpty()) {
|
||||
for (var admin : newAdmins) {
|
||||
@ -878,7 +878,7 @@ public class GroupHelper {
|
||||
) throws LastGroupAdminException, IOException {
|
||||
final var currentAdmins = groupInfoV2.getAdminMemberRecipientIds();
|
||||
newAdmins.removeAll(currentAdmins);
|
||||
newAdmins.retainAll(groupInfoV2.getMembers());
|
||||
newAdmins.retainAll(groupInfoV2.getMemberRecipientIds());
|
||||
if (currentAdmins.contains(account.getSelfRecipientId())
|
||||
&& currentAdmins.size() == 1
|
||||
&& groupInfoV2.getMembers().size() > 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user