projects
/
theonering
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5052ad8
)
Upon request, switching contact's presence over to AWAY. The theory is this gives...
author
Ed Page
<eopage@byu.net>
Wed, 27 Jan 2010 02:24:25 +0000
(20:24 -0600)
committer
Ed Page
<eopage@byu.net>
Wed, 27 Jan 2010 02:24:25 +0000
(20:24 -0600)
src/simple_presence.py
patch
|
blob
|
history
diff --git
a/src/simple_presence.py
b/src/simple_presence.py
index
9c7f64e
..
5449344
100644
(file)
--- a/
src/simple_presence.py
+++ b/
src/simple_presence.py
@@
-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)