mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-08-12 03:16:22 +00:00
Fix marking sender as needs pni signature
This commit is contained in:
parent
d29f6c1641
commit
6fa1d1bf90
@ -340,9 +340,9 @@ public final class IncomingMessageHandler {
|
||||
}
|
||||
|
||||
if (account.getPni().equals(destination.serviceId)) {
|
||||
account.getRecipientStore().markNeedsPniSignature(destination.recipientId, true);
|
||||
account.getRecipientStore().markNeedsPniSignature(sender, true);
|
||||
} else if (account.getAci().equals(destination.serviceId)) {
|
||||
account.getRecipientStore().markNeedsPniSignature(destination.recipientId, false);
|
||||
account.getRecipientStore().markNeedsPniSignature(sender, false);
|
||||
}
|
||||
|
||||
if (content.getReceiptMessage().isPresent()) {
|
||||
|
||||
@ -213,6 +213,7 @@ run_main -a "$NUMBER_2" send "$NUMBER_1" -m hi
|
||||
run_main -a "$NUMBER_2" send "$NUMBER_1" -m hii
|
||||
run_main -a "$NUMBER_1" updateAccount --discoverable-by-number=false
|
||||
run_main -a "$NUMBER_1" receive
|
||||
run_main -a "$NUMBER_1" send "$NUMBER_2" -m hi
|
||||
run_main -a "$NUMBER_2" receive
|
||||
run_main -a "$NUMBER_2" send "$NUMBER_1" -m hi
|
||||
run_main -a "$NUMBER_2" send "$NUMBER_1" -m hii
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user