mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 04:12:37 +01:00
Make messenger friend list behave properly
This commit is contained in:
parent
85831a9df3
commit
274ea7f1ad
@ -52,6 +52,7 @@ public class MessengerBuddy implements Runnable, ISerialize {
|
||||
try {
|
||||
this.id = set.getInt("id");
|
||||
this.username = set.getString("username");
|
||||
this.look = set.getString("look");
|
||||
this.relation = 0;
|
||||
this.userOne = 0;
|
||||
} catch (SQLException e) {
|
||||
|
@ -36,7 +36,7 @@ public class FriendsComposer extends MessageComposer {
|
||||
this.response.appendInt(row.getValue().getGender().equals(HabboGender.M) ? 0 : 1);
|
||||
this.response.appendBoolean(row.getValue().getOnline() == 1);
|
||||
this.response.appendBoolean(row.getValue().inRoom()); //IN ROOM
|
||||
this.response.appendString(row.getValue().getLook());
|
||||
this.response.appendString(row.getValue().getOnline() == 1 ? row.getValue().getLook() : "");
|
||||
this.response.appendInt(0);
|
||||
this.response.appendString(row.getValue().getMotto());
|
||||
this.response.appendString("");
|
||||
|
@ -62,7 +62,7 @@ public class UserSearchResultComposer extends MessageComposer {
|
||||
this.response.appendBoolean(false);
|
||||
this.response.appendString("");
|
||||
this.response.appendInt(1);
|
||||
this.response.appendString(buddy.getLook());
|
||||
this.response.appendString(buddy.getOnline() == 1 ? buddy.getLook() : "");
|
||||
this.response.appendString("");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user