Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gajim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
204
Issues
204
List
Boards
Labels
Service Desk
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim
Commits
b0697272
Commit
b0697272
authored
Jul 03, 2019
by
Daniel Brötzmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get identity category and type correctly
parent
7ee22d83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gajim/common/caps_cache.py
gajim/common/caps_cache.py
+2
-2
No files found.
gajim/common/caps_cache.py
View file @
b0697272
...
...
@@ -80,8 +80,8 @@ def get_client_identity(client_caps):
cache_item
=
lookup_item
(
capscache
)
for
identity
in
cache_item
.
identities
:
if
identity
.
get
(
'category'
)
==
'client'
:
return
identity
.
get
(
'type'
)
if
identity
.
category
==
'client'
:
return
identity
.
type
def
create_suitable_client_caps
(
node
,
caps_hash
,
hash_method
,
fjid
=
None
):
"""
...
...
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