| Index: samples/chat/dart_client/chat.dart
|
| diff --git a/samples/chat/dart_client/chat.dart b/samples/chat/dart_client/chat.dart
|
| index 1561a2952d5500717388ee69e015eaab3331a0fe..3c2ba5480fa68c23044d221481fea981d9efb7bc 100644
|
| --- a/samples/chat/dart_client/chat.dart
|
| +++ b/samples/chat/dart_client/chat.dart
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| @@ -226,7 +226,7 @@ class Chat {
|
| text += "joined";
|
| } else if (message["type"] == "message") {
|
| text += message["message"];
|
| - } else if (message["type"] == "left") {
|
| + } else if (message["type"] == "leave") {
|
| text += "left";
|
| } else {
|
| text += "timeout";
|
|
|