Mercurial > xmpp-account-manager
changeset 22:07e33207e598
Fixup for an unitialised variable in the previous commit.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 23 Dec 2018 01:15:41 +0100 |
parents | cd35420457ac |
children | e99984564b17 |
files | avatar.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/avatar.js +++ b/avatar.js @@ -185,7 +185,7 @@ function initAvatar(connection) { function onAvatarMetadataConfigured(result_iq) { - const iq = configurePEPField('urn:xmpp:avatar:data', 'pubsub#access_model', evt.target.value); + const iq = configurePEPField('urn:xmpp:avatar:data', 'pubsub#access_model', avatar_access.value); connection.sendIQ(iq, onAvatarConfigured, onAvatarConfigureError.bind(null, 'PubSub configuration of data failed.')); }