diff options
| author | 2012-07-28 22:52:57 +0200 | |
|---|---|---|
| committer | 2012-07-28 22:52:57 +0200 | |
| commit | b138eea72387b0d9d87d5089603152780ba78bd1 (patch) | |
| tree | 82272b41046778c89fd5f781fe08f1abfa37ffd3 | |
| parent | cdccaa9311cbe1c2af146cda0321886c4aad0879 (diff) | |
| download | avandu-b138eea72387b0d9d87d5089603152780ba78bd1.tar.gz avandu-b138eea72387b0d9d87d5089603152780ba78bd1.zip | |
Add logout command
If you ever want to manually reset your session.
| -rw-r--r-- | avandu.el | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -211,6 +211,12 @@ bounds of a button." (button-put button 'face 'avandu-overview-read-article)) (avandu-next-article)) +(defun avandu-logout () + "Logout from Tiny Tiny RSS." + (interactive) + (avandu-send-command '((op . "logout"))) + (avandu--clear-data)) + (defun avandu-logged-in-p () "Send a request to tt-rss to see if we're (still) logged in. This function returns t if we are, or nil if we're not." |
