Clear out idle state when client logs off in case their client object
remains around until their next session. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3129 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: CrowdClient.java,v 1.25 2004/08/27 02:12:34 mdb Exp $
|
// $Id: CrowdClient.java,v 1.26 2004/10/01 22:04:18 mdb Exp $
|
||||||
//
|
//
|
||||||
// Narya library - tools for developing networked games
|
// Narya library - tools for developing networked games
|
||||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||||
@@ -76,6 +76,10 @@ public class CrowdClient extends PresentsClient
|
|||||||
// will know that we've left
|
// will know that we've left
|
||||||
clearLocation(body);
|
clearLocation(body);
|
||||||
|
|
||||||
|
// reset our status in case this object remains around until they
|
||||||
|
// start their next session (which could happen very soon)
|
||||||
|
BodyProvider.updateOccupantStatus(body, -1, OccupantInfo.ACTIVE);
|
||||||
|
|
||||||
// clear our chat history
|
// clear our chat history
|
||||||
if (body != null) {
|
if (body != null) {
|
||||||
SpeakProvider.clearHistory(body.username);
|
SpeakProvider.clearHistory(body.username);
|
||||||
|
|||||||
Reference in New Issue
Block a user