diff options
Diffstat (limited to 'apidocs/python/src/prof.py')
-rw-r--r-- | apidocs/python/src/prof.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apidocs/python/src/prof.py b/apidocs/python/src/prof.py index 7ee282a9..eafaeeb7 100644 --- a/apidocs/python/src/prof.py +++ b/apidocs/python/src/prof.py @@ -262,6 +262,15 @@ def get_name_from_roster(barejid): pass +def get_barejid_from_roster(name): + """Retrieve the barejid for a given nickname if it is in the roster. + + :return: the users barejid e.g. "eddie@server.tld", or ``None`` if the nickname is not in the roster. + :rtype: str + """ + pass + + def get_current_occupants(): """Retrieve nicknames of all occupants in a chat room, when in a chat room window. |