summaryrefslogtreecommitdiff
path: root/src/contact.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/contact.py')
-rw-r--r--src/contact.py12
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