mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-25 22:58:01 +01:00
One query to get set of accounts and long-existing logic error.
This commit is contained in:
@@ -257,11 +257,9 @@ public class MessageController extends HttpServlet {
|
||||
|
||||
outgoingMessage.setTimestamp(System.currentTimeMillis());
|
||||
|
||||
int index = 0;
|
||||
|
||||
for (String destination : destinationNumbers) {
|
||||
if (!destination.equals(incoming.getDestination()))
|
||||
outgoingMessage.setDestinations(index++, destination);
|
||||
outgoingMessage.addDestinations(destination);
|
||||
}
|
||||
|
||||
LocalOrRemoteDevice device = null;
|
||||
|
||||
Reference in New Issue
Block a user