Make friend search show the searcher themselves

This commit is contained in:
Alejandro 2019-08-05 19:54:06 +03:00
parent 274ea7f1ad
commit 1e7a92e215

View File

@ -30,7 +30,7 @@ public class UserSearchResultComposer extends MessageComposer {
List<MessengerBuddy> u = new ArrayList<>();
for (MessengerBuddy buddy : this.users) {
if (!buddy.getUsername().equals(this.habbo.getHabboInfo().getUsername()) && !this.inFriendList(buddy)) {
if (!this.inFriendList(buddy)) {
u.add(buddy);
}
}