CreeperHost / MineTogether

A Minecraft mod that enhances community and server features, such as global chat, chunk pre-generation, auto server join from protocol uri (via FTBApp), friends lists, private chats and many more features linked to the MineTogether platform.
https://minetogether.io
GNU General Public License v3.0
23 stars 16 forks source link

[Bug]: Cannot remove friends. #652

Closed Draylynn closed 9 months ago

Draylynn commented 1 year ago

Describe the bug

Removed friends reappear in the friends list.

Steps to reproduce

Friends list Remove friend Appears removed Check list mins later, friends reappeared. Issue persists after restart (tried for a few days now).

Related log entry: [02:25:28] [MT Friends Thread 0/ERROR] [ne.cr.mi.li.ch.pr.ProfileManager/]: Failed to remove friend. Api returned: Friend does not exist.

Expected behaviour

Remove friend, friend removed, permanently.

Screenshots

No response

Version

6.0.8, 6.0.9, 6.0.11

Minecraft Version

1.18.2

ModLoader Version

1.18.2 - 40.1.84

Additional Information

During one of my earlier MT tests on 1.12.2 I believe, I managed to also add myself to my friends list, apparently under the name of another MT user, somehow... This causes my chat messages to display me with this other name in yellow. This may be related to this and solely a "Dray problem", because you know I love to break things.

covers1624 commented 1 year ago

This is caused by aggressive caching on the API side.

MT removes the friend, but the API keeps telling you it exists when it doesn't.

Draylynn commented 1 year ago

Aggressive API stance; On a friend entry I haven't been able to remove for months?

Draylynn commented 1 year ago

Additional note about additional notes: Randomly ObserverPistachio asked me about this issue, it turns out the whole "Dray added herself/blocked herself" etc thought to be during testing builds and the whole "using a friends name" instead of displaying your name, is not a "Dray" problem and similarly, cannot be removed from friends list.

gigabit101 commented 9 months ago

closed due to inactivity