From 85e60ada1558798669b29225aa530b4ba9310cdc Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Sun, 10 Nov 2013 08:04:33 -0500
Subject: [PATCH] First version of the local storage compose data saving feature; some behavioral improvements and encrytion are still to be added

---
 program/include/rcmail.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 4b3f137..8abe873 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -413,6 +413,9 @@
     $this->output->set_env('comm_path', $this->comm_path);
     $this->output->set_charset(RCUBE_CHARSET);
 
+    if ($this->user && $this->user->ID)
+      $this->output->set_env('user_id', $this->user->get_hash());
+
     // add some basic labels to client
     $this->output->add_label('loading', 'servererror', 'requesttimedout', 'refreshing');
 

--
Gitblit v1.9.1