diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-10-04 00:27:40 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-10-04 00:27:40 +0000 |
commit | d6bb19572e3a5557f1e125b68ec1676cced1448a (patch) | |
tree | 7e867c25344cf5e2398d02cdde11e0b86bfda600 /src/contact.py | |
parent | 3ea295f8c78d74c7ce94db3271f0ce3464e4e0cb (diff) | |
download | poezio-d6bb19572e3a5557f1e125b68ec1676cced1448a.tar.gz poezio-d6bb19572e3a5557f1e125b68ec1676cced1448a.tar.bz2 poezio-d6bb19572e3a5557f1e125b68ec1676cced1448a.tar.xz poezio-d6bb19572e3a5557f1e125b68ec1676cced1448a.zip |
contact information buffer in the roster tab (yet empty)
Diffstat (limited to 'src/contact.py')
-rw-r--r-- | src/contact.py | 12 |
1 files changed, 12 insertions, 0 deletions
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 |