about summary refs log tree commit diff stats
path: root/TODO_STATES
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-08 00:57:25 +0000
committerJames Booth <boothj5@gmail.com>2015-01-08 00:57:25 +0000
commit5e7d2f5f91d47af330742a3b554e6f03450d6623 (patch)
tree5560d7b60b3b32b9c56adf1291b91d5db34a4101 /TODO_STATES
parent8bbf126e83205f942ec2bfdc1a9597c82a2c811d (diff)
downloadprofani-tty-5e7d2f5f91d47af330742a3b554e6f03450d6623.tar.gz
Removed chat states from chat_session module, WIP
Diffstat (limited to 'TODO_STATES')
-rw-r--r--TODO_STATES21
1 files changed, 21 insertions, 0 deletions
diff --git a/TODO_STATES b/TODO_STATES
new file mode 100644
index 00000000..6e080b18
--- /dev/null
+++ b/TODO_STATES
@@ -0,0 +1,21 @@
+Chat sessions
+
+Start (if not already started):
+    When message received from fulljid
+    When active, composing, paused or inactive chat state received from fulljid
+End:
+    When message received from a different fulljid (start new session)
+    When active, composing, paused or inactive received from different fulljid (start new session)
+    When any presence received from any resource
+    When gone received from fulljid
+    When window closed
+    When gone sent
+
+Chat states
+
+Active - focus chat window, or message send
+Composing - typing in chat session (window)
+Paused - no typing for 30 seconds
+Inactive - unfocus chat window, or after 2 mins
+Gone - close chat window, or after 10 mins
+