mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Refactor group store
This commit is contained in:
parent
a1014ba39c
commit
5b8c0c4e2d
14 changed files with 644 additions and 473 deletions
|
@ -46,7 +46,7 @@ public class JoinGroupCommand implements LocalCommand {
|
|||
|
||||
final var results = m.joinGroup(linkUrl);
|
||||
var newGroupId = results.first();
|
||||
if (!m.getGroup(newGroupId).isMember(m.getSelfAddress())) {
|
||||
if (!m.getGroup(newGroupId).isMember(m.getSelfRecipientId())) {
|
||||
writer.println("Requested to join group \"{}\"", newGroupId.toBase64());
|
||||
} else {
|
||||
writer.println("Joined group \"{}\"", newGroupId.toBase64());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue