mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Fix displaying group quit messages
This commit is contained in:
parent
08962fd1dc
commit
a96bd91770
1 changed files with 2 additions and 1 deletions
|
@ -1754,6 +1754,7 @@ public class Manager implements Closeable {
|
|||
// Store uuid if we don't have it already
|
||||
resolveRecipientTrusted(envelope.getSourceAddress());
|
||||
}
|
||||
final var notAGroupMember = isNotAGroupMember(envelope, content);
|
||||
if (!envelope.isReceipt()) {
|
||||
try {
|
||||
content = decryptMessage(envelope);
|
||||
|
@ -1779,7 +1780,7 @@ public class Manager implements Closeable {
|
|||
account.save();
|
||||
if (isMessageBlocked(envelope, content)) {
|
||||
logger.info("Ignoring a message from blocked user/group: {}", envelope.getTimestamp());
|
||||
} else if (isNotAGroupMember(envelope, content)) {
|
||||
} else if (notAGroupMember) {
|
||||
logger.info("Ignoring a message from a non group member: {}", envelope.getTimestamp());
|
||||
} else {
|
||||
handler.handleMessage(envelope, content, exception);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue