From a54c4e7dd2b8ce3801a54c465360c41804eeb265 Mon Sep 17 00:00:00 2001
From: Sam Form <sam41form@gmail.com>
Date: Sun, 15 Oct 2017 20:07:03 +0200
Subject: [PATCH 1/2] add info on how to clean the telegram-purple directory to
 deal with revoked sessions

---
 README.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README.md b/README.md
index 331246d..0db62ec 100644
--- a/README.md
+++ b/README.md
@@ -290,6 +290,15 @@ FAQ
 - I receive pictures in a chat, but they aren't showing up
   * A: Make sure that you don't have a plugin like "Conversation Colors" that strips HTML from messages and removes the pictures.
 
+- I receive RPC_CALL_FAIL_401: SESSION REVOKED
+
+  * A: This basically means your session has been terminated but the program
+    doesn't handle terminated sessions properly yet. You have to clean the
+    $PURPLEDIR/telegram-purple/$PHONENUMBER directory to fix this issue.
+
+    For Arch Linux users you can find this directory in
+    `/var/lib/bitlbee/purple/telegram-purple/`
+
 #### Group chat
 
 Telegram group chat for telegram-purple or libtgl related discussions or questions:

From d286c1f338453420bc112788063c41eb1b63c7a2 Mon Sep 17 00:00:00 2001
From: Sam Form <sam41form@gmail.com>
Date: Sun, 15 Oct 2017 20:52:24 +0200
Subject: [PATCH 2/2] use the more common purple directory

---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 0db62ec..61453a7 100644
--- a/README.md
+++ b/README.md
@@ -294,9 +294,9 @@ FAQ
 
   * A: This basically means your session has been terminated but the program
     doesn't handle terminated sessions properly yet. You have to clean the
-    $PURPLEDIR/telegram-purple/$PHONENUMBER directory to fix this issue.
+    ~/.purple/telegram-purple/$PHONENUMBER directory to fix this issue.
 
-    For Arch Linux users you can find this directory in
+    For Arch Linux users that use Bitlbee you can find this directory in
     `/var/lib/bitlbee/purple/telegram-purple/`
 
 #### Group chat