Upon request, switching contact's presence over to AWAY. The theory is this gives...
authorEd Page <eopage@byu.net>
Wed, 27 Jan 2010 02:24:25 +0000 (20:24 -0600)
committerEd Page <eopage@byu.net>
Wed, 27 Jan 2010 02:24:25 +0000 (20:24 -0600)
src/simple_presence.py

index 9c7f64e..5449344 100644 (file)
@@ -66,7 +66,7 @@ class TheOneRingPresence(object):
                                                raise telepathy.errors.InvalidArgument("Unsupported state on the state machine: %s" % state)
                                presenceType = TheOneRingPresence.TO_PRESENCE_TYPE[presence]
                        else:
-                               presence = TheOneRingPresence.ONLINE
+                               presence = TheOneRingPresence.AWAY
                                presenceType = TheOneRingPresence.TO_PRESENCE_TYPE[presence]
 
                        presences[h] = (presenceType, presence)