user: search: use get_or_fetch() instead of get_or_fetch_by_nickname()
authorWilliam Pitcock <nenolod@dereferenced.org>
Thu, 14 Feb 2019 19:58:24 +0000 (19:58 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Thu, 14 Feb 2019 20:00:04 +0000 (20:00 +0000)
commitda44cdd3812fabb777c738b162c704de22e4b2f4
treedbdcdffe367813365e31aaebd2ae14f571a8cd2d
parent56862f4ce1275689416661847b0734129f5471ae
user: search: use get_or_fetch() instead of get_or_fetch_by_nickname()

get_or_fetch() handles the nickname verses URI differences transparently.
lib/pleroma/user.ex