• Aearil's avatar
    Fix 'from' attribute missing for ComponentXMPP Disco IQ · f90713cb
    Aearil authored
    Fixes #3455
    This reuses the 'to' attribute of the received presence as a 'from' for
    the Disco IQ. I don't know if this is the best way to do it, but in
    testing with a simple component it fixed the error.
    Also I'm not sure whether pres['to'] would also be valid when
    is_component is False.