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
G
gajim-plugins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
59
Issues
59
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
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-plugins
Commits
a206dfaf
Commit
a206dfaf
authored
Sep 15, 2017
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[omemo] Return None on empty result
parent
7873f0ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
omemo/omemo/litesessionstore.py
omemo/omemo/litesessionstore.py
+1
-1
No files found.
omemo/omemo/litesessionstore.py
View file @
a206dfaf
...
...
@@ -54,7 +54,7 @@ class LiteSessionStore(SessionStore):
c
.
execute
(
q
,
(
device_id
,
))
result
=
c
.
fetchone
()
return
result
[
0
].
decode
(
'utf-8'
)
return
result
[
0
].
decode
(
'utf-8'
)
if
result
else
None
def
getActiveDeviceTuples
(
self
):
q
=
"SELECT recipient_id, device_id FROM sessions WHERE active = 1"
...
...
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