0
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-10-28 09:57:13 -04:00

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.
This commit is contained in:
Dustin Lagoy
2021-04-28 09:32:20 -04:00
parent ed4d2fcfb2
commit 802442fffc
8 changed files with 14 additions and 14 deletions

View File

@@ -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.