From aed82a0e3b24a337e42f0487a5617dcf77c9f9e1 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 29 Jul 2016 23:18:06 +0100 Subject: Advertise us as a console client, not as a pc one. --- poezio/connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/poezio/connection.py b/poezio/connection.py index 7c39008b..fffcaf9f 100644 --- a/poezio/connection.py +++ b/poezio/connection.py @@ -148,11 +148,11 @@ class Connection(slixmpp.ClientXMPP): if config.get('send_os_info'): info['os'] = common.get_os_info() self.plugin['xep_0030'].set_identities( - identities=set([('client', 'pc', None, 'Poezio')])) + identities={('client', 'console', None, 'Poezio')}) else: info = {'name': '', 'version': ''} self.plugin['xep_0030'].set_identities( - identities=set([('client', 'pc', None, '')])) + identities={('client', 'console', None, '')}) self.register_plugin('xep_0092', pconfig=info) if config.get('send_time'): self.register_plugin('xep_0202') -- cgit v1.2.3