mirror of https://gitlab.com/litecord/litecord.git
litecord.user_storage: fix get_relationships
This commit is contained in:
parent
c70dd62306
commit
041791b733
|
|
@ -114,7 +114,7 @@ class UserStorage:
|
||||||
if drow['peer_id'] not in mutuals:
|
if drow['peer_id'] not in mutuals:
|
||||||
drow['type'] = _outgoing
|
drow['type'] = _outgoing
|
||||||
|
|
||||||
drow['user'] = await self.get_user(drow['peer_id'])
|
drow['user'] = await self.storage.get_user(drow['peer_id'])
|
||||||
|
|
||||||
drow.pop('user_id')
|
drow.pop('user_id')
|
||||||
drow.pop('peer_id')
|
drow.pop('peer_id')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue