Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
poezio
poezio
Commits
aed82a0e
Commit
aed82a0e
authored
Jul 29, 2016
by
Link Mauve
Browse files
Advertise us as a console client, not as a pc one.
parent
f6960d09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
poezio/connection.py
poezio/connection.py
+2
-2
No files found.
poezio/connection.py
View file @
aed82a0e
...
...
@@ -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'
,
'
p
c'
,
None
,
'Poezio'
)
])
)
identities
=
{
(
'client'
,
'c
onsole
'
,
None
,
'Poezio'
)
}
)
else
:
info
=
{
'name'
:
''
,
'version'
:
''
}
self
.
plugin
[
'xep_0030'
].
set_identities
(
identities
=
set
([
(
'client'
,
'
p
c'
,
None
,
''
)
])
)
identities
=
{
(
'client'
,
'c
onsole
'
,
None
,
''
)
}
)
self
.
register_plugin
(
'xep_0092'
,
pconfig
=
info
)
if
config
.
get
(
'send_time'
):
self
.
register_plugin
(
'xep_0202'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment