Dimillian / Dimillian/IceCubesApp
Bug: error fetching emoji with an empty url/staticUrl
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 7.1k
- Forks
- 720
- PR merge metrics
- No merged PRs in 30d
Description
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
- Search that this bugs don't already exist before creating it.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the emoji decoding path and the linked commit e927c48810ba11341cfc7d55cc661df01552f85e. Reproduce timeline loading with an emoji whose url and staticUrl are empty strings, then verify that posts load successfully without the decoding error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100