From 802442fffc86397870e1f37f901b63b9521b042d Mon Sep 17 00:00:00 2001 From: Dustin Lagoy Date: Wed, 28 Apr 2021 09:32:20 -0400 Subject: 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. --- apidocs/python/src/prof.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apidocs/python/src') 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. -- cgit 1.4.1-2-gfad0