summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0054/stanza.py
diff options
context:
space:
mode:
authorMike Taylor <bear42@gmail.com>2015-09-18 15:14:35 -0400
committerMike Taylor <bear42@gmail.com>2015-09-18 15:14:35 -0400
commitcc1cc61d36aa430f5b251c7315b251b9c9582c7f (patch)
treef8b8f74f6c45bb67f6636bb5966c7a1b0e320d5c /sleekxmpp/plugins/xep_0054/stanza.py
parentc6740a49086bf6e3d0703653aa93566aa80a874b (diff)
parent53b56899a07d6586889cc3e6cce3d64229a7bbeb (diff)
downloadslixmpp-cc1cc61d36aa430f5b251c7315b251b9c9582c7f.tar.gz
slixmpp-cc1cc61d36aa430f5b251c7315b251b9c9582c7f.tar.bz2
slixmpp-cc1cc61d36aa430f5b251c7315b251b9c9582c7f.tar.xz
slixmpp-cc1cc61d36aa430f5b251c7315b251b9c9582c7f.zip
Merge pull request #392 from aalba6675/fix/tel_number
Do not overwrite telephone numbers
Diffstat (limited to 'sleekxmpp/plugins/xep_0054/stanza.py')
-rw-r--r--sleekxmpp/plugins/xep_0054/stanza.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0054/stanza.py b/sleekxmpp/plugins/xep_0054/stanza.py
index 72da0b51..2d017d6e 100644
--- a/sleekxmpp/plugins/xep_0054/stanza.py
+++ b/sleekxmpp/plugins/xep_0054/stanza.py
@@ -128,7 +128,8 @@ class Telephone(ElementBase):
def setup(self, xml=None):
super(Telephone, self).setup(xml=xml)
- self._set_sub_text('NUMBER', '', keep=True)
+ ## this blanks out numbers received from server
+ ##self._set_sub_text('NUMBER', '', keep=True)
def set_number(self, value):
self._set_sub_text('NUMBER', value, keep=True)