[telepathy-butterfly/master] Use the presence type busy for busy (fd.o #22619)
Olivier Le Thanh Duong
olivier at lethanh.be
Sat Jul 4 15:24:11 PDT 2009
Use the presence type busy instead of away for the busy presence
since it's in the spec since 0.17.0
---
NEWS | 1 +
butterfly/presence.py | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/NEWS b/NEWS
index 1cb20dd..8160d6e 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ Dependencies:
Enhancements:
Fixes:
+ * Use the presence type busy for busy presence (fd.o #22619)
telepathy-butterfly-0.3.4 (16-06-2009)
======================================
diff --git a/butterfly/presence.py b/butterfly/presence.py
index 1a5c934..9a6cdc0 100644
--- a/butterfly/presence.py
+++ b/butterfly/presence.py
@@ -112,7 +112,7 @@ class ButterflyPresence(telepathy.server.ConnectionInterfacePresence,
telepathy.CONNECTION_PRESENCE_TYPE_AWAY,
True, True, arguments),
ButterflyPresenceMapping.BUSY:(
- telepathy.CONNECTION_PRESENCE_TYPE_AWAY,
+ telepathy.CONNECTION_PRESENCE_TYPE_BUSY,
True, True, arguments),
ButterflyPresenceMapping.IDLE:(
telepathy.CONNECTION_PRESENCE_TYPE_EXTENDED_AWAY,
@@ -240,7 +240,7 @@ class ButterflyPresence(telepathy.server.ConnectionInterfacePresence,
telepathy.CONNECTION_PRESENCE_TYPE_AWAY,
True, True),
ButterflyPresenceMapping.BUSY:(
- telepathy.CONNECTION_PRESENCE_TYPE_AWAY,
+ telepathy.CONNECTION_PRESENCE_TYPE_BUSY,
True, True),
ButterflyPresenceMapping.IDLE:(
telepathy.CONNECTION_PRESENCE_TYPE_EXTENDED_AWAY,
--
1.5.6.5
More information about the telepathy-commits
mailing list