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
b5ebcaf3
Commit
b5ebcaf3
authored
Jan 27, 2020
by
senior
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
preventing `variable not defined` exception when no option available
parent
fe897a78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
slixmpp_omemo/__init__.py
slixmpp_omemo/__init__.py
+1
-0
No files found.
slixmpp_omemo/__init__.py
View file @
b5ebcaf3
...
...
@@ -431,6 +431,7 @@ class XEP_0384(BasePlugin):
disco
=
await
self
.
xmpp
[
'xep_0030'
].
get_info
(
jid
.
bare
)
publish_options
=
PUBLISH_OPTIONS_NODE
in
disco
[
'disco_info'
].
get_features
()
options
=
None
if
publish_options
:
options
=
_make_publish_options_form
({
'pubsub#persist_items'
:
True
,
...
...
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