mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fix prof_get_name_from_roster documentation
This commit is contained in:
parent
2350a94c44
commit
2b56e33d16
@ -140,7 +140,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.
|
||||
@return the users nickname e.g. "eddie", or the input barejid if it is not in the roster.
|
||||
*/
|
||||
char* prof_get_name_from_roster(const char *barejid);
|
||||
|
||||
|
@ -256,7 +256,7 @@ def get_current_nick():
|
||||
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.
|
||||
:return: the users nickname e.g. "eddie", or the input barejid if it is not in the roster.
|
||||
:rtype: str
|
||||
"""
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user