diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-01 01:25:56 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-01 01:25:56 +0100 |
commit | 43531113b798cda6b2f76257641f38b0af986437 (patch) | |
tree | 73107f086ec5d772a9041aa3ad4b1c7b8e0dcce9 /src/de/gultsch/chat/entities/Contact.java | |
parent | c3e4f0eaacf8ab32ceab32b8f46e8b7d85c71cfb (diff) |
more code cleanup for xmpp parser. more eventy. nice unknown contact pictures
Diffstat (limited to 'src/de/gultsch/chat/entities/Contact.java')
-rw-r--r-- | src/de/gultsch/chat/entities/Contact.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/de/gultsch/chat/entities/Contact.java b/src/de/gultsch/chat/entities/Contact.java index 30dfc05b..66221f8a 100644 --- a/src/de/gultsch/chat/entities/Contact.java +++ b/src/de/gultsch/chat/entities/Contact.java @@ -20,9 +20,8 @@ public class Contact implements Serializable { return this.display_name; } - public Uri getProfilePhoto() { - if (photo == null) return null; - return Uri.parse(photo); + public String getProfilePhoto() { + return photo; } public String getJid() { |