Page MenuHomePhabricator

[keyserver][lib][native][web] Add support for resolving FC usernames to getEntityTextAsString
ClosedPublic

Authored by ashoat on Sun, May 5, 12:16 PM.
Tags
None
Referenced Files
F1785148: D11881.id39821.diff
Sat, May 18, 1:15 PM
Unknown Object (File)
Fri, May 17, 10:51 AM
Unknown Object (File)
Fri, May 17, 10:51 AM
Unknown Object (File)
Thu, May 16, 12:35 PM
Unknown Object (File)
Mon, May 13, 6:32 AM
Unknown Object (File)
Sun, May 12, 4:14 PM
Unknown Object (File)
Sat, May 11, 10:35 AM
Unknown Object (File)
Thu, May 9, 8:18 AM
Subscribers

Details

Summary

getEntityTextAsString is used in two places:

  1. Notifs, where we potentially need to resolve robotext with FC users in it
  2. Determining the name of a pending thread. If somebody is creating a pending thread from a robotext that has FC users in it, we want to resolve the FC usernames

Depends on D11880

Test Plan

I tested notifs generated on the keyserver and delivered to an Android device, and confirmed that they resolved Farcaster usernames properly

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable