One query to get set of accounts and long-existing logic error.

This commit is contained in:
Matt Corallo committed 2014-01-11 17:40:00 -10:00
1 parent eedaa8b3f4
commit 6f9226dcf9
5 files changed
+41 -12

No files matched your search

@@ -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;