about summary refs log tree commit diff stats
path: root/apidocs
diff options
context:
space:
mode:
Diffstat (limited to 'apidocs')
-rw-r--r--apidocs/c/profapi.h2
-rw-r--r--apidocs/python/src/prof.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/apidocs/c/profapi.h b/apidocs/c/profapi.h
index e6562895..a8c8673c 100644
--- a/apidocs/c/profapi.h
+++ b/apidocs/c/profapi.h
@@ -142,7 +142,7 @@ char* prof_get_current_nick(void);
 Retrieve the nickname for a given barejid if it is in the roster.
 @return the users nickname e.g. "eddie", or NULLL if the barejid is not in the roster.
 */
-char* prof_get_nick_from_roster(const char *barejid);
+char* prof_get_name_from_roster(const char *barejid);
 
 /**
 Retrieve nicknames of all occupants in a chat room, when in a chat room window.
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.