Chat cleanups and minor fixes.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3363 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2016-12-23 18:42:37 +00:00
parent 5eb25de38b
commit 8a46fd4560
2 changed files with 9 additions and 19 deletions

View File

@ -737,7 +737,6 @@ class XmppService {
self._socket.onError(self._reportError);
self._socket.read(function(data) {
try {
print(data.__prototype__ ? "YEAH!" : "nope");
if (!data) {
self._service.notifyStateChanged("disconnected");
return;