Commit ba80b8e5 authored by Moul's avatar Moul

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

parent ed6e9cdf
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment