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
S
slixmpp-omemo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
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
poezio
slixmpp-omemo
Commits
89758db2
Verified
Commit
89758db2
authored
Dec 13, 2019
by
Maxime Buquet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the correct method name setTrust
Signed-off-by:
Maxime “pep” Buquet
<
pep@bouah.net
>
parent
b18f7d99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slixmpp_omemo/__init__.py
slixmpp_omemo/__init__.py
+1
-1
No files found.
slixmpp_omemo/__init__.py
View file @
89758db2
...
...
@@ -456,7 +456,7 @@ class XEP_0384(BasePlugin):
return
self
.
_omemo
.
getDevices
(
jid
.
bare
).
get
(
'active'
,
[])
def
trust
(
self
,
jid
:
JID
,
device_id
:
int
,
ik
:
bytes
)
->
None
:
self
.
_omemo
.
setTrust
ed
(
jid
.
bare
,
device_id
,
ik
,
True
)
self
.
_omemo
.
setTrust
(
jid
.
bare
,
device_id
,
ik
,
True
)
def
distrust
(
self
,
jid
:
JID
,
device_id
:
int
,
ik
:
bytes
)
->
None
:
self
.
_omemo
.
setTrust
(
jid
.
bare
,
device_id
,
ik
,
False
)
...
...
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