Fix issue where group stories weren't syncing to linked devices.

main
Greyson Parrelli 2023-02-03 12:08:21 -05:00 zatwierdzone przez GitHub
rodzic 1ed3dbb147
commit a41aed20e1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -279,8 +279,8 @@ public class SignalServiceMessageSender {
Set<SignalServiceStoryMessageRecipient> manifest) Set<SignalServiceStoryMessageRecipient> manifest)
throws IOException, UntrustedIdentityException throws IOException, UntrustedIdentityException
{ {
if (manifest.isEmpty()) { if (manifest.isEmpty() && !message.getGroupContext().isPresent()) {
Log.w(TAG, "Refusing to send sync message for empty manifest."); Log.w(TAG, "Refusing to send sync message for empty manifest in non-group story.");
return; return;
} }