Mercurial > xmpp-account-manager
comparison avatar.js @ 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 | aff7caa10489 |
comparison
equal
deleted
inserted
replaced
21:cd35420457ac | 22:07e33207e598 |
---|---|
183 displaySpinner(access_model_spinner_img); | 183 displaySpinner(access_model_spinner_img); |
184 }); | 184 }); |
185 | 185 |
186 function onAvatarMetadataConfigured(result_iq) | 186 function onAvatarMetadataConfigured(result_iq) |
187 { | 187 { |
188 const iq = configurePEPField('urn:xmpp:avatar:data', 'pubsub#access_model', evt.target.value); | 188 const iq = configurePEPField('urn:xmpp:avatar:data', 'pubsub#access_model', avatar_access.value); |
189 connection.sendIQ(iq, onAvatarConfigured, onAvatarConfigureError.bind(null, 'PubSub configuration of data failed.')); | 189 connection.sendIQ(iq, onAvatarConfigured, onAvatarConfigureError.bind(null, 'PubSub configuration of data failed.')); |
190 } | 190 } |
191 | 191 |
192 function onAvatarConfigured(result_iq) | 192 function onAvatarConfigured(result_iq) |
193 { | 193 { |