Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-01-17 12:11:45 -0500
committerslewis2007-01-17 12:11:45 -0500
commit7cb1f2ac487d50b3797abbc87c7a41232f776308 (patch)
tree6fe75512ade9b34ba75a22e98a024f605a264425 /protocols
parent90603602180922fcd5895925fa4d843fdec411fd (diff)
downloadorg.eclipse.ecf-7cb1f2ac487d50b3797abbc87c7a41232f776308.tar.gz
org.eclipse.ecf-7cb1f2ac487d50b3797abbc87c7a41232f776308.tar.xz
org.eclipse.ecf-7cb1f2ac487d50b3797abbc87c7a41232f776308.zip
Fix for bug 170796
Diffstat (limited to 'protocols')
-rw-r--r--protocols/bundles/org.jivesoftware.smack/src/org/jivesoftware/smackx/packet/VCardTempXUpdateExtension.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/bundles/org.jivesoftware.smack/src/org/jivesoftware/smackx/packet/VCardTempXUpdateExtension.java b/protocols/bundles/org.jivesoftware.smack/src/org/jivesoftware/smackx/packet/VCardTempXUpdateExtension.java
index ac1ade0b1..76a598914 100644
--- a/protocols/bundles/org.jivesoftware.smack/src/org/jivesoftware/smackx/packet/VCardTempXUpdateExtension.java
+++ b/protocols/bundles/org.jivesoftware.smack/src/org/jivesoftware/smackx/packet/VCardTempXUpdateExtension.java
@@ -36,6 +36,7 @@ public class VCardTempXUpdateExtension implements PacketExtension {
}
public byte[] getPhotoDataAsBytes() {
+ if (photoData == null) return new byte[0];
return StringUtils.decodeBase64(photoData);
}

Back to the top