Let's make that key public.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2867 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-11-24 17:53:11 +00:00
parent 6f336305f8
commit ba9e8276ce
2 changed files with 6 additions and 3 deletions
@@ -1,5 +1,5 @@
//
// $Id: ChatDirector.java,v 1.54 2003/11/24 17:52:15 mdb Exp $
// $Id: ChatDirector.java,v 1.55 2003/11/24 17:53:11 mdb Exp $
package com.threerings.crowd.chat.client;
@@ -383,7 +383,7 @@ public class ChatDirector extends BasicDirector
if (idletime > 0L) {
// adjust by the time it took them to become idle
idletime += _ctx.getConfig().getValue(
"narya.chat.idle_time", DEFAULT_IDLE_TIME);
IDLE_TIME_KEY, DEFAULT_IDLE_TIME);
String msg = MessageBundle.compose(
"m.recipient_idle", MessageBundle.taint(target),
TimeUtil.getTimeOrderString(idletime, TimeUtil.MINUTE));
@@ -1,5 +1,5 @@
//
// $Id: ChatCodes.java,v 1.17 2003/11/24 17:52:15 mdb Exp $
// $Id: ChatCodes.java,v 1.18 2003/11/24 17:53:11 mdb Exp $
package com.threerings.crowd.chat.data;
@@ -13,6 +13,9 @@ public interface ChatCodes extends InvocationCodes
/** The message identifier for a chat notification message. */
public static final String CHAT_NOTIFICATION = "chat";
/** The configuration key for idle time. */
public static final String IDLE_TIME_KEY = "narya.chat.idle_time";
/** The default time after which a player is assumed idle. */
public static final long DEFAULT_IDLE_TIME = 3 * 60 * 1000L;