diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/net/java/sip/communicator/slick/protocol/generic/PredictableTransformLayer.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/net/java/sip/communicator/slick/protocol/generic/PredictableTransformLayer.java b/test/net/java/sip/communicator/slick/protocol/generic/PredictableTransformLayer.java index 035cc9b..11d1e0d 100644 --- a/test/net/java/sip/communicator/slick/protocol/generic/PredictableTransformLayer.java +++ b/test/net/java/sip/communicator/slick/protocol/generic/PredictableTransformLayer.java @@ -40,7 +40,7 @@ public class PredictableTransformLayer .getDestinationContact(), evt.getErrorCode()); } - public MessageDeliveredEvent messageDeliveryPending( + public MessageDeliveredEvent[] messageDeliveryPending( MessageDeliveredEvent evt) { logger @@ -51,8 +51,9 @@ public class PredictableTransformLayer "DELIVERY_PENDING"); logger.debug("OUT: " + transformedMessage.getContent()); - return new MessageDeliveredEvent(transformedMessage, evt - .getDestinationContact(), evt.getTimestamp()); + return new MessageDeliveredEvent[] + { new MessageDeliveredEvent(transformedMessage, + evt.getDestinationContact(), evt.getTimestamp()) }; } public MessageReceivedEvent messageReceived(MessageReceivedEvent evt) |