Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gajim-plugins
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gajim
gajim-plugins
Commits
934cc5d2
Commit
934cc5d2
authored
12 years ago
by
Kjell Braden
Browse files
Options
Downloads
Patches
Plain Diff
gotr: fixed message injection without session
parent
b4927cd3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gotr/manifest.ini
+1
-1
1 addition, 1 deletion
gotr/manifest.ini
gotr/otrmodule.py
+4
-4
4 additions, 4 deletions
gotr/otrmodule.py
with
5 additions
and
5 deletions
gotr/manifest.ini
+
1
−
1
View file @
934cc5d2
[info]
name:
Off-The-Record
Encryption
short_name:
gotr
version:
1.
5
version:
1.
6
description:
See
http://www.cypherpunks.ca/otr/
authors:
Kjell
Braden
<afflux.gajim@pentabarf.de>
homepage:
http://gajim-otr.pentabarf.de
This diff is collapsed.
Click to expand it.
gotr/otrmodule.py
+
4
−
4
View file @
934cc5d2
...
...
@@ -97,11 +97,11 @@ class GajimContext(potr.context.Context):
account
=
self
.
user
.
accountname
stanza
=
common
.
xmpp
.
Message
(
to
=
self
.
peer
,
body
=
msg
,
typ
=
'
chat
'
)
if
appdata
and
'
session
'
in
appdata
:
session
=
appdata
[
'
session
'
]
stanza
.
setThread
(
session
.
thread_id
)
if
appdata
is
not
None
:
session
=
appdata
.
get
(
'
session
'
,
None
)
if
session
is
not
None
:
stanza
.
setThread
(
session
.
thread_id
)
gajim
.
connections
[
account
].
connection
.
send
(
stanza
,
now
=
True
)
return
def
setState
(
self
,
newstate
):
if
self
.
state
==
potr
.
context
.
STATE_ENCRYPTED
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment