HabitRPG / habitica

A habit tracker app which treats your goals like a Role Playing Game.
https://habitica.com
Other
11.9k stars 4.06k forks source link

Party chat mentions sometimes suggest users not in the party #14627

Open CuriousMagpie opened 1 year ago

CuriousMagpie commented 1 year ago

General Info

Description

From user:

In Party chat, using @ to mention someone: - Suggests people who aren't in the party as available options - Does not suggest some people who are in the party This happens on iOS and Web, and who is not suggested seems to rotate. I usually have to copy/paste their username and hope for the best. Seems like the party chat interface should reference a SQL table that just has the party members in it, etc.

Note: Habitica uses MongoDB, not SQL. A solution would need to reference party members and currently, the groups collection (which includes parties and guilds) does not have a list of all members and this is by design as some guilds are quite large. Instead, the only way to get a list of party members is to query the party ID against the users collection.

Garvitasingh10 commented 2 weeks ago

@CuriousMagpie , hello I am interested in addressing this problem. Can you assign it to me?"

CuriousMagpie commented 1 week ago

@Garvitasingh10, consider it yours! Thank you!