From f3e5a2589916fd435d391b08748e0b29344d96da Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Sat, 19 Oct 2013 10:32:15 -0300 Subject: [PATCH] How to add a friend --- doc/workflows.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/workflows.txt diff --git a/doc/workflows.txt b/doc/workflows.txt new file mode 100644 index 0000000..14e935a --- /dev/null +++ b/doc/workflows.txt @@ -0,0 +1,13 @@ +Socket receive messages: + 1) Check authenticity. + a) From self, accept any commands. + b) From a friend, accept some commands. + c) From unknown friend, accept less commands, or queue + for authorization. + +Example: add new friend + +1) Receive message from unknown friend. +2) Add to queue (inbox?) for friendship. +3) Self connects, ask for last messages in queue (inbox). +4) Self sends message adding friend. -- 2.20.1