IceCubesApp
IceCubesApp copied to clipboard
Bug: error fetching emoji with an empty url/staticUrl
Environment:
- OS: iOS 18.0
- IceCubesApp version: 1.10.59
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
- [x] Search that this bugs don't already exist before creating it.
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?
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.
I am seeing this as well, iOS 18.1, GtS 0.17
It loads fine occasionally, but when I tried to load posts today and inspected the JSON manually I found posts that had emoji with blank URLs.
...
"emojis": [
{
"shortcode": "ablobcatmaracasevil",
"url": "",
"static_url": "",
"visible_in_picker": true
},
...
Other clients when faced with the same null fields will just render the short code (mona, phanpy) or a drop it silently (feditext) either of those would be preferable to breaking the entire timeline render, but rendering the short code seems like it would be the more elegant handling.
I have this issue as well, though I have never added custom emoji to my GTS instance.