kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix bug with SMS and disappearing messages.
rodzic
c95fd7cf0c
commit
40386c910c
|
@ -3178,7 +3178,7 @@ public class ConversationParentFragment extends Fragment
|
||||||
outgoingMessage = new OutgoingSecureMediaMessage(outgoingMessageCandidate);
|
outgoingMessage = new OutgoingSecureMediaMessage(outgoingMessageCandidate);
|
||||||
ApplicationDependencies.getTypingStatusSender().onTypingStopped(thread);
|
ApplicationDependencies.getTypingStatusSender().onTypingStopped(thread);
|
||||||
} else {
|
} else {
|
||||||
outgoingMessage = outgoingMessageCandidate;
|
outgoingMessage = outgoingMessageCandidate.withExpiry(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
Permissions.with(this)
|
Permissions.with(this)
|
||||||
|
@ -3226,7 +3226,7 @@ public class ConversationParentFragment extends Fragment
|
||||||
message = new OutgoingEncryptedMessage(recipient.get(), messageBody, expiresIn);
|
message = new OutgoingEncryptedMessage(recipient.get(), messageBody, expiresIn);
|
||||||
ApplicationDependencies.getTypingStatusSender().onTypingStopped(thread);
|
ApplicationDependencies.getTypingStatusSender().onTypingStopped(thread);
|
||||||
} else {
|
} else {
|
||||||
message = new OutgoingTextMessage(recipient.get(), messageBody, expiresIn, sendType.getSimSubscriptionIdOr(-1));
|
message = new OutgoingTextMessage(recipient.get(), messageBody, 0, sendType.getSimSubscriptionIdOr(-1));
|
||||||
}
|
}
|
||||||
|
|
||||||
Permissions.with(this)
|
Permissions.with(this)
|
||||||
|
|
Ładowanie…
Reference in New Issue