Kansattica / msync

A store and forward command line Mastodon and Pleroma client that fits on a floppy disk.
Other
60 stars 5 forks source link

Display name doesn't fallback to username in notifications.list #84

Open mimuki opened 10 months ago

mimuki commented 10 months ago

In home.list, the author of a post is displayed as author: display name (@username@example.com), but if they don't have a display name set, it'll show author: username (@username@example.com)

However, in notifications.list, that doesn't happen if the user has no display name- instead it'll show author: (@username@example.com), with the same issue happening in the line that says what kind of interaction it was.

I haven't tested extensively to see what causes this to happen (as people without display names set are uncommon), but i've been able to reproduce this both with mastodon users on the same instance, and users on a different instance.

mimuki commented 10 months ago

update, what i initially said is inaccurate. i have two accounts- one on mastodon, one on akkoma. the akkoma account works perfectly for both, falling back as expected. but the mastodon one does not work for either home.list or notifications.list

Kansattica commented 10 months ago

Hmm, should be an easy fix. I'll take a look when I have some free time.