From d6bb19572e3a5557f1e125b68ec1676cced1448a Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Mon, 4 Oct 2010 00:27:40 +0000 Subject: contact information buffer in the roster tab (yet empty) --- src/contact.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/contact.py') diff --git a/src/contact.py b/src/contact.py index 39ec9715..435251a7 100644 --- a/src/contact.py +++ b/src/contact.py @@ -33,9 +33,15 @@ class Contact(object): def set_ask(self, ask): self._ask = ask + def get_ask(self): + return self._ask + def set_subscription(self, sub): self._subscription = sub + def get_subscription(self, sub): + return self._subscription + def get_jid(self): return self._jid @@ -52,6 +58,12 @@ class Contact(object): def get_presence(self): return self._presence + def get_status(self): + return self._status + + def set__status(self, s): + self._status = s + def set_name(self, name): self._display_name = name -- cgit v1.2.3