mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-27 19:22:15 -05:00
made presences object final in contact
This commit is contained in:
parent
7f45e210af
commit
beb216c300
@ -45,7 +45,7 @@ public class Contact implements ListItem, Blockable {
|
||||
protected String photoUri;
|
||||
protected JSONObject keys = new JSONObject();
|
||||
protected JSONArray groups = new JSONArray();
|
||||
protected Presences presences = new Presences();
|
||||
protected final Presences presences = new Presences();
|
||||
protected Account account;
|
||||
protected Avatar avatar;
|
||||
|
||||
@ -222,10 +222,6 @@ public class Contact implements ListItem, Blockable {
|
||||
return this.presences;
|
||||
}
|
||||
|
||||
public void setPresences(Presences pres) {
|
||||
this.presences = pres;
|
||||
}
|
||||
|
||||
public void updatePresence(final String resource, final Presence presence) {
|
||||
this.presences.updatePresence(resource, presence);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user