summaryrefslogtreecommitdiff
path: root/src/messagehandler.cc
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2012-05-04 14:34:06 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2012-05-04 14:34:06 +0200
commit5edf746e07502eb7fed813a1f379f936445765e0 (patch)
tree07c6c54e194a63452565e6058b19c35ff0efe013 /src/messagehandler.cc
parentbad263911d7a3f1b5581be9413906a359af2025c (diff)
Fixed task id error when sending update command.
Diffstat (limited to 'src/messagehandler.cc')
-rw-r--r--src/messagehandler.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/messagehandler.cc b/src/messagehandler.cc
index 16fe043..0b63da1 100644
--- a/src/messagehandler.cc
+++ b/src/messagehandler.cc
@@ -101,6 +101,7 @@ MessageList handle_msg(MessageList msgList, clientid_t wsi) {
try {
task_t t;
t.title = m.update.title;
+ t.id = m.update.id;
m.nodes = task_manager.updateTask(m.update.id, t);
outmsgs.push_back(m);
}