From dd6b91bb361080719abe935eb83edf99fe7d2183 Mon Sep 17 00:00:00 2001
From: Maxim Shishmarev <msgmaxim@gmail.com>
Date: Mon, 4 May 2020 15:36:39 +1000
Subject: [PATCH] Minor clean-up

---
 config/swarm-testing.json         | 4 ----
 libtextsecure/outgoing_message.js | 2 --
 2 files changed, 6 deletions(-)

diff --git a/config/swarm-testing.json b/config/swarm-testing.json
index cc1b0cb3d..83ea2ba1d 100644
--- a/config/swarm-testing.json
+++ b/config/swarm-testing.json
@@ -4,10 +4,6 @@
       "ip": "127.0.0.1",
       "port": "22129"
     }
-    // {
-    //   "ip": "167.114.135.147",
-    //   "port": "22129"
-    // }
   ],
   "openDevTools": true,
   "defaultPublicChatServer": "https://team-chat.lokinet.org/"
diff --git a/libtextsecure/outgoing_message.js b/libtextsecure/outgoing_message.js
index 5367caf6d..771938cb4 100644
--- a/libtextsecure/outgoing_message.js
+++ b/libtextsecure/outgoing_message.js
@@ -492,7 +492,6 @@ OutgoingMessage.prototype = {
   },
   // Send a message to a public group
   async sendPublicMessage(number) {
-    if (this.isPublic) {
       await this.transmitMessage(
         number,
         this.message.dataMessage,
@@ -502,7 +501,6 @@ OutgoingMessage.prototype = {
 
       this.successfulNumbers[this.successfulNumbers.length] = number;
       this.numberCompleted();
-    }
   },
 
   async sendMediumGroupMessage(groupId) {