diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-02-22 19:38:59 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-02-22 20:49:03 +0100 |
commit | b7f933051498df20772ba4a00f05feb1972343a6 (patch) | |
tree | 86b9048a944317adfa2f23abc9bd2f7e84132dd5 /src/main/java/de/pixart/messenger/entities/Contact.java | |
parent | 35538440cfbcdf8aeb208d3dfd981a514dda1d98 (diff) |
add resource to ContactDetails
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/entities/Contact.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/Contact.java b/src/main/java/de/pixart/messenger/entities/Contact.java index 1e55526ce..7da8d423e 100644 --- a/src/main/java/de/pixart/messenger/entities/Contact.java +++ b/src/main/java/de/pixart/messenger/entities/Contact.java @@ -239,6 +239,10 @@ public class Contact implements ListItem, Blockable { return this.presences.getShownStatus(); } + public String getMostAvailableResource() { + return this.presences.getMostAvailableResource(); + } + public boolean setPhotoUri(String uri) { if (uri != null && !uri.equals(this.photoUri)) { this.photoUri = uri; |