diff options
author | Dustin Lagoy <dustin@lagoy.org> | 2021-04-28 09:32:20 -0400 |
---|---|---|
committer | Dustin Lagoy <dustin@lagoy.org> | 2021-04-28 09:32:20 -0400 |
commit | 802442fffc86397870e1f37f901b63b9521b042d (patch) | |
tree | bf57c42ec14de5d496adc751223988a3248303df /apidocs/python/src | |
parent | ed4d2fcfb2b99a049164c602feea7ccf4d0d8bea (diff) | |
download | profani-tty-802442fffc86397870e1f37f901b63b9521b042d.tar.gz |
Change nick to name in api to match convention
Change all instances of *get_nick_from_roster to *get_name_from_roster to match the convention of names in the roster itself.
Diffstat (limited to 'apidocs/python/src')
-rw-r--r-- | apidocs/python/src/prof.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apidocs/python/src/prof.py b/apidocs/python/src/prof.py index aeec3604..7ee282a9 100644 --- a/apidocs/python/src/prof.py +++ b/apidocs/python/src/prof.py @@ -253,7 +253,7 @@ def get_current_nick(): pass -def get_nick_from_roster(barejid): +def get_name_from_roster(barejid): """Retrieve a nickname from a barejid if it is in the roster. :return: the users nickname e.g. ``"eddie"``, or ``None`` if the barejid is not in the roster. |