Mercurial > libervia-desktop-kivy
changeset 212:38b43ed18bb5
file sharing: use "your server" name when sharing component domain ends with our domain
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 25 May 2018 14:59:52 +0200 |
parents | b25d03403898 |
children | 423d462ea739 |
files | cagou/plugins/plugin_wid_file_sharing.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_file_sharing.py Fri May 25 14:17:17 2018 +0200 +++ b/cagou/plugins/plugin_wid_file_sharing.py Fri May 25 14:59:52 2018 +0200 @@ -218,7 +218,7 @@ name = self.identities.name elif self.entity_jid.node: name = self.entity_jid.node - elif self.entity_jid.domain == own_jid.domain: + elif self.entity_jid.domain.endswith(own_jid.domain): name = _(u"your server") else: name = _(u"sharing component")