From 2eb0a23a93e023d35cd532d0b4a344a575a2ecc3 Mon Sep 17 00:00:00 2001
From: Aleksey Lim <alsroot@member.fsf.org>
Date: Mon, 30 Mar 2009 15:14:12 +0000
Subject: "share or invite" hint even on resume of shared instance #402

---
 pippy_app.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/pippy_app.py b/pippy_app.py
index 215f349..9609cdb 100644
--- a/pippy_app.py
+++ b/pippy_app.py
@@ -87,7 +87,9 @@ class Chat(ViewSourceActivity):
             self._one_to_one_connection(handle.uri)
         else:
             # we are creating the activity
-            self._alert(_('Off-line'), _('Share, or invite someone.'))
+            if not handle.object_id:
+                # if we creating new session
+                self._alert(_('Off-line'), _('Share, or invite someone.'))
             self.connect('shared', self._shared_cb)
 
     def _shared_cb(self, activity):
-- 
1.6.2

