Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/model/owner.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jarabe/model/owner.py')
-rw-r--r--src/jarabe/model/owner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jarabe/model/owner.py b/src/jarabe/model/owner.py
index 2075f08..17996e6 100644
--- a/src/jarabe/model/owner.py
+++ b/src/jarabe/model/owner.py
@@ -17,8 +17,8 @@
import gobject
import os
-import cjson
import gconf
+import simplejson
from telepathy.interfaces import CHANNEL_TYPE_TEXT
@@ -98,7 +98,7 @@ class Owner(gobject.GObject):
bundle_id = 'org.laptop.Chat'
else:
bundle_id = 'org.laptop.VideoChat'
- tp_channel = cjson.encode([bus_name, connection, channel])
+ tp_channel = simplejson.dumps([bus_name, connection, channel])
self._invites.add_private_invite(tp_channel, bundle_id)
def _activity_disappeared_cb(self, pservice, activity):