diff options
Diffstat (limited to 'src/com/isode/stroke/adhoc/OutgoingAdHocCommandSession.java')
-rw-r--r-- | src/com/isode/stroke/adhoc/OutgoingAdHocCommandSession.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/isode/stroke/adhoc/OutgoingAdHocCommandSession.java b/src/com/isode/stroke/adhoc/OutgoingAdHocCommandSession.java index 6b1d04c..5bccb31 100644 --- a/src/com/isode/stroke/adhoc/OutgoingAdHocCommandSession.java +++ b/src/com/isode/stroke/adhoc/OutgoingAdHocCommandSession.java @@ -154,10 +154,8 @@ public class OutgoingAdHocCommandSession { * Send initial request to the target. */ public void start() { - Action action = null; GenericRequest<Command> commandRequest = new GenericRequest<Command>( - IQ.Type.Set, to_, new Command(commandNode_, "", action), - iqRouter_); + IQ.Type.Set, to_, new Command(commandNode_), iqRouter_); commandRequest.onResponse.connect(new Slot2<Command, ErrorPayload>() { public void call(Command payload, ErrorPayload error) { handleResponse(payload, error); |