Skip to content
Snippets Groups Projects
Commit ba80b8e5 authored by Moul's avatar Moul
Browse files

[mod] #135: remove not used get_pubkey_from_id()

parent ed6e9cdf
No related branches found
No related tags found
No related merge requests found
......@@ -225,12 +225,3 @@ async def is_member(pubkey, uid):
if pubkey in member["pubkey"] and uid in member["uid"]:
return True
return False
async def get_pubkey_from_id(uid):
client = ClientInstance().client
members = await client(wot.members)
for member in members["results"]:
if uid == member["uid"]:
return member["pubkey"]
return NO_MATCHING_ID
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment