Dimillian / IceCubesApp

A SwiftUI Mastodon client
https://apps.apple.com/us/app/ice-cubes-for-mastodon/id6444915884
GNU Affero General Public License v3.0
5.57k stars 539 forks source link

Bug: error fetching emoji with an empty url/staticUrl #2202

Open kejadlen opened 1 month ago

kejadlen commented 1 month ago

Environment:

Description

When refreshing the timeline, I get "An error occurred while loading posts, please try again".

It seems this is because my server (GoToSocial) had an emoji with url/staticUrl as empty strings, so decoding the emoji failed. I did get it to load successfully with this change, though I don't know if this is the ideal way of handling this scenario.

Related Issues

kejadlen commented 1 month ago

Also, although I removed the offending emoji on the server, I'm still unable to pull down the timeline on my phone despite uninstalling and reinstalling the app. Not sure if there's some caching somewhere that needs to be busted?

mbirth commented 1 month ago

The same issue started for me. But I can't find any weird emoji in my GtS database.

Local timeline - works
Federated timeline - works
Trending - error (expected, not supported by GtS)
Home timeline - ERROR
Notifications tab - works
News tab - ERROR
Profile tab - works

I'm on iOS 18.1 Beta and GotoSocial 0.17-rc1. It worked like this just fine yesterday and I didn't touch anything since then.

The Phanpy app works without any obvious issues.