summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0325
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-09-30 21:01:05 +0200
committermathieui <mathieui@mathieui.net>2016-10-02 17:12:47 +0200
commit96d1c26f90ce0ecd3651a9990e72e7d55e298328 (patch)
tree5ba4268ee568a8902f56eae0892d2fb411b49d31 /sleekxmpp/plugins/xep_0325
parent46a90749f839c3d64aa05458cef825f56e9c702d (diff)
downloadslixmpp-96d1c26f90ce0ecd3651a9990e72e7d55e298328.tar.gz
slixmpp-96d1c26f90ce0ecd3651a9990e72e7d55e298328.tar.bz2
slixmpp-96d1c26f90ce0ecd3651a9990e72e7d55e298328.tar.xz
slixmpp-96d1c26f90ce0ecd3651a9990e72e7d55e298328.zip
Add a fallback if the lang we want is not available
Previously, trying to get a text node with a lang which is different from the one we specified would return nothing, which means e.g. a message would be ignored because its body is of lang 'fr' when we setup slixmpp to prefer 'en'. We want to return something when there is an available, valid content in a different language.
Diffstat (limited to 'sleekxmpp/plugins/xep_0325')
0 files changed, 0 insertions, 0 deletions