diff options
-rw-r--r-- | sunshine/channel/group.py | 2 | ||||
-rwxr-xr-x | sunshine/lqsoft/pygadu/models.py | 2 | ||||
-rwxr-xr-x | sunshine/lqsoft/pygadu/twisted_protocol.py | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/sunshine/channel/group.py b/sunshine/channel/group.py index d094364..ced603a 100644 --- a/sunshine/channel/group.py +++ b/sunshine/channel/group.py @@ -102,7 +102,7 @@ class SunshineGroupChannel(SunshineListChannel): group = self._handle.group self.delete_contact_from_group(group, contact, contact_handle) - reactor.callLater(3.0, self._conn.exportContactsFile) + reactor.callLater(3.0, self._conn_ref().exportContactsFile) def Close(self): diff --git a/sunshine/lqsoft/pygadu/models.py b/sunshine/lqsoft/pygadu/models.py index c3149b5..14c8cdb 100755 --- a/sunshine/lqsoft/pygadu/models.py +++ b/sunshine/lqsoft/pygadu/models.py @@ -111,7 +111,7 @@ class GaduProfile(object): def setMyState(self, new_state, new_description=''): if not self.connected: - raise RuntimeError("You need to be connected, to import contact list from the server.") + raise RuntimeError("You need to be connected, to change your status or presence.") self.__connection.changeStatus(new_state, new_description) diff --git a/sunshine/lqsoft/pygadu/twisted_protocol.py b/sunshine/lqsoft/pygadu/twisted_protocol.py index 859e256..f3a4b04 100755 --- a/sunshine/lqsoft/pygadu/twisted_protocol.py +++ b/sunshine/lqsoft/pygadu/twisted_protocol.py @@ -276,8 +276,6 @@ class GaduClient(Protocol): def changeStatus(self, status, desc=''): change_status_class = Resolver.by_name('ChangeStatusPacket') - print ChangeStatusPacket.STATUS.FFC - if status == 'NOT_AVAILABLE': if desc == '' or desc == None: gg_status = change_status_class.STATUS.NOT_AVAILABLE |