jp (file/send): don't add main resource to bare jid anymore:
bare jid sending is now managed by backend (at least for Jingle), so resource must not be added automatically anymore.
This commit is contained in:
parent
f4c7f5e55e
commit
ed39d5340d
1 changed files with 6 additions and 5 deletions
|
|
@ -874,6 +874,8 @@ class Jp(object):
|
|||
|
||||
async def get_full_jid(self, param_jid):
|
||||
"""Return the full jid if possible (add main resource when find a bare jid)"""
|
||||
# TODO: to be removed, bare jid should work with all commands, notably for file
|
||||
# as backend now handle jingles message initiation
|
||||
_jid = JID(param_jid)
|
||||
if not _jid.resource:
|
||||
#if the resource is not given, we try to add the main resource
|
||||
|
|
|
|||
Loading…
Reference in a new issue