Use handle when display name is blank #11

Closed
opened 2021-02-01 13:44:22 +00:00 by danieljsummers · 2 comments
danieljsummers commented 2021-02-01 13:44:22 +00:00 (Migrated from github.com)

It appears that Mastodon will use the user's handle as their display name, if the user hasn't specified a different one. Currently, we are storing and using the blank display name, rather than mimicking this behavior. Modify the "display name update" logic to use the handle for that field if the name we got from NAS is blank.

It appears that Mastodon will use the user's handle as their display name, if the user hasn't specified a different one. Currently, we are storing and using the blank display name, rather than mimicking this behavior. Modify the "display name update" logic to use the handle for that field if the name we got from NAS is blank.
danieljsummers commented 2021-02-01 13:46:27 +00:00 (Migrated from github.com)

In the interim, run this as often as necessary...

update jjj.citizen set display_name = na_user where display_name = '';
In the interim, run this as often as necessary... ```sql update jjj.citizen set display_name = na_user where display_name = ''; ```
danieljsummers commented 2021-02-07 00:06:32 +00:00 (Migrated from github.com)

The work on this will be undone when #12 is done. Closing this in preference for that issue, which will be added to the 1.0 project.

The work on this will be undone when #12 is done. Closing this in preference for that issue, which will be added to the 1.0 project.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bit-badger/jobs-jobs-jobs#11
No description provided.