mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Make friend search show the searcher themselves
This commit is contained in:
parent
274ea7f1ad
commit
1e7a92e215
@ -30,7 +30,7 @@ public class UserSearchResultComposer extends MessageComposer {
|
|||||||
List<MessengerBuddy> u = new ArrayList<>();
|
List<MessengerBuddy> u = new ArrayList<>();
|
||||||
|
|
||||||
for (MessengerBuddy buddy : this.users) {
|
for (MessengerBuddy buddy : this.users) {
|
||||||
if (!buddy.getUsername().equals(this.habbo.getHabboInfo().getUsername()) && !this.inFriendList(buddy)) {
|
if (!this.inFriendList(buddy)) {
|
||||||
u.add(buddy);
|
u.add(buddy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user