summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-07-29 23:18:06 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-07-29 23:18:06 +0100
commitaed82a0e3b24a337e42f0487a5617dcf77c9f9e1 (patch)
tree9fa1ad5b3201780c9733d8849ce848d22fbbeb98
parentf6960d09f0e84903954e801397209ef7eb1450ce (diff)
downloadpoezio-aed82a0e3b24a337e42f0487a5617dcf77c9f9e1.tar.gz
poezio-aed82a0e3b24a337e42f0487a5617dcf77c9f9e1.tar.bz2
poezio-aed82a0e3b24a337e42f0487a5617dcf77c9f9e1.tar.xz
poezio-aed82a0e3b24a337e42f0487a5617dcf77c9f9e1.zip
Advertise us as a console client, not as a pc one.
-rw-r--r--poezio/connection.py4
1 files 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')