Fix thread not updating after group creation.

fork-5.53.8
Cody Henthorne 2022-10-10 15:43:36 -04:00
rodzic 02d9cbe01b
commit c6e3c9dd35
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -274,7 +274,7 @@ public class MessageSender {
sendMediaMessage(context, recipient, forceSms, messageId, Collections.emptyList()); sendMediaMessage(context, recipient, forceSms, messageId, Collections.emptyList());
onMessageSent(); onMessageSent();
threadDatabase.update(threadId, true); threadDatabase.update(allocatedThreadId, true);
return allocatedThreadId; return allocatedThreadId;
} catch (MmsException e) { } catch (MmsException e) {
@ -318,7 +318,7 @@ public class MessageSender {
sendMediaMessage(context, recipient, false, messageId, jobIds); sendMediaMessage(context, recipient, false, messageId, jobIds);
onMessageSent(); onMessageSent();
threadDatabase.update(threadId, true); threadDatabase.update(allocatedThreadId, true);
return allocatedThreadId; return allocatedThreadId;
} catch (MmsException e) { } catch (MmsException e) {