--- a/mcabber/src/screen.h Wed Nov 01 00:57:56 2006 +0100
+++ b/mcabber/src/screen.h Wed Nov 01 11:56:58 2006 +0100
@@ -26,6 +26,11 @@
// Note: message length is limited by the HBB_BLOCKSIZE size too
#define MULTILINE_MAX_LINE_NUMBER 299
+// When chatstates are enabled, timeout (in seconds) before "composing"
+// becomes "paused" because of user inactivity.
+// Warning: setting this very low will cause more network traffic.
+#define COMPOSING_TIMEOUT 8L
+
enum colors {
COLOR_GENERAL = 3,
COLOR_MSGOUT,
@@ -91,9 +96,13 @@
inline void scr_Beep(void);
-unsigned int scr_GetAutoAwayTimeout(time_t now);
+long int scr_GetAutoAwayTimeout(time_t now);
void scr_CheckAutoAway(int activity);
+#if defined JEP0022 || defined JEP0085
+long int scr_GetChatStatesTimeout(time_t now);
+#endif
+
// For commands...
void scr_RosterTop(void);
void scr_RosterBottom(void);