Skip to content

Commit

Permalink
Merge pull request #41 from freedomjs/dborkan-photo
Browse files Browse the repository at this point in the history
Fix getting photos.
  • Loading branch information
willscott committed May 20, 2014
2 parents 4e3a769 + bbc7654 commit 9300f12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "freedom-social-xmpp",
"description": "XMPP Social provider for freedomjs",
"version": "0.0.10",
"version": "0.0.11",
"homepage": "http://freedomjs.org",
"bugs": {
"url": "http://github.com/freedomjs/freedom-social-xmpp/issues",
Expand Down
2 changes: 1 addition & 1 deletion src/vcardstore.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ VCardStore.prototype.updateVcard = function(from, message) {
user.userId = userid;
name = message.getChildText('FN');
url = message.getChildText('URL');
photo = message.getChildText('PHOTO');
photo = message.getChild('PHOTO');

if (name) {
if (name !== user.name) {
Expand Down

0 comments on commit 9300f12

Please sign in to comment.