Aliucord / Aliucord

A modification for the Discord Android App

Home Page:https://discord.gg/EsNDvBaHVU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Display names are sometimes not applied for some users

ScrubN opened this issue · comments

Discord Account

No response

What happens when the bug or crash occurs?

User display names are sometimes not applied. When this occurs for a given user, it is consistent between their member list entry, direct message title, @ mention popup, and user card.

What is the expected behaviour?

The display name of the user is properly shown where applicable.

How do you recreate this bug or crash?

  1. Open a server with many users.
  2. Scroll through an active chat/the member list until you find 1 or more users whose display names are not visible.

Crash-log

Replace this text with your crash-log.

Request Agreement

  • I did indeed check to make sure the bug or crash report is applicable!

After further testing, this problem may not be related to pronouns and I just got really unlucky when picking users to test my theories. I will continue testing.

Unfortunately, I could not find a pattern for when users lack their display names.

Some things I have noticed:

  • One of the users who was lacking their display name seemed to have gained it after opening a direct message channel with them.
    • I was able to reproduce this with another user, however it only took effect once Aliucord was reloaded. It's possible Aliucord was reloaded with the first user too as my phone fell asleep between the times I noted the first user's name.
    • Unfortunately, I was unable to reproduce this when tried with 2 other users. A possible reason could be that these were new dm channels with no messages, whereas the other 2 instances had messages from both myself and the other user.
  • Just restarting Aliucord with no other actions seems to have no effect.
  • Clearing Aliucord's cache seems to have no effect.

Another Problem that happens for me is: when Aliucord starts without an internet connection, then receives one ALL users in my DMs only have their Username and not Displayname

This persists across reboots of aliucord, the only way to stop it is to go into the aliucord installer and installing aliucord, which updates it to the same version and probably cleares some cache that cannot be cleared otherwise.

My ROM if anyone's interested: Xiaomi.eu MIUI 14.0.3.0 (from last year, haven't updated to the rebuild yet)

Otherwise I can confirm the steps mentioned above to fix it on a per user basis works, yet only as long as I don't have to reinstall aliucord, after that it's screwed again.

fyi what you're describing by reinstalling can be achieved by either clearing the app data (maybe even just cache)

fyi what you're describing by reinstalling can be achieved by either clearing the app data (maybe even just cache)

well... when it did happen to me I could clear cache as often as I want to and it didn't work. As for clearing app data I haven't done that as I feared it would delete my login data unlike that reinstalling (def not plugins and plugin data as that's saved elsewhere, as it seems)

@rushiiMachine the problem happened again just now: the username was shown of all users in my DMs list instead of their displayname. This time I tried clearing App Data as you suggested, however that only logged me out of my account and reset my discord settings. The Problem was still there and present. Reinstalling by updating to the same version works as always.

what's weird as well is that in the member list of dms the username of the user I'm chatting with and myself is shown instead of the displayname. Same goes for groups.

Also experiencing this issue.