element-hq / element-hq/element-ios

Reload loop when un/hiding user

Open
#4,168 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

**Describe the bug**
When you un/hide a user, Element gets stuck in a reload loop. You have to force close it, wait a few moments, and then open it again.

**To Reproduce**
Steps to reproduce the behavior:
1. Un/hide a user
2. Element gets stuck in a reload loop.

**Expected behavior**
Element should only reload once.

**Screenshots**
[Screencast](https://streamable.com/aui9dc)
(Note, retention expires 90 days after posted)

**Smartphone (please complete the following information):**
- Device: iPhone 12 mini
- OS: iOS 14.4.2
- Element Version: 1.2.7

**Additional context**

Contributor guide

Open the contributing guide

Research direction

Reproduce the reload loop on an iPhone 12 mini running iOS 14.4.2 with Element 1.2.7 by unhiding or hiding a user. Trace the reload triggered by that action; done means the app reloads once and remains usable instead of entering a loop.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.