Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Erik Huelsmann
gajim
Commits
fcda7787
Commit
fcda7787
authored
18 years ago
by
dkirov
Browse files
Options
Downloads
Patches
Plain Diff
converted line end to <LF>
parent
f7c8ccea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/common/connection_handlers.py
+9
-9
9 additions, 9 deletions
src/common/connection_handlers.py
with
9 additions
and
9 deletions
src/common/connection_handlers.py
+
9
−
9
View file @
fcda7787
...
...
@@ -1033,9 +1033,9 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco)
self
.
awaiting_answers
=
{}
# List of IDs that will produce a timeout is answer doesn't arrive
# {time_of_the_timeout: (id, message to send to gui), }
self
.
awaiting_timeouts
=
{}
# keep the jids we auto added (transports contacts) to not send the
# SUBSCRIBED event to gui
self
.
awaiting_timeouts
=
{}
# keep the jids we auto added (transports contacts) to not send the
# SUBSCRIBED event to gui
self
.
automatically_added
=
[]
try
:
idle
.
init
()
...
...
@@ -1348,7 +1348,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco)
timestamp
=
None
is_gc
=
False
# is it a GC presence ?
sigTag
=
None
avatar_sha
=
None
avatar_sha
=
None
transport_auto_auth
=
False
xtags
=
prs
.
getTags
(
'
x
'
)
for
x
in
xtags
:
...
...
@@ -1362,11 +1362,11 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco)
# JEP-0091
tim
=
prs
.
getTimestamp
()
tim
=
time
.
strptime
(
tim
,
'
%Y%m%dT%H:%M:%S
'
)
timestamp
=
time
.
localtime
(
timegm
(
tim
))
if
x
.
getNamespace
()
==
'
http://delx.cjb.net/protocol/roster-subsync
'
:
# see http://trac.gajim.org/ticket/326
agent
=
gajim
.
get_server_from_jid
(
jid_stripped
)
if
self
.
connection
.
getRoster
().
getItem
(
agent
):
# to be sure it's a transport contact
timestamp
=
time
.
localtime
(
timegm
(
tim
))
if
x
.
getNamespace
()
==
'
http://delx.cjb.net/protocol/roster-subsync
'
:
# see http://trac.gajim.org/ticket/326
agent
=
gajim
.
get_server_from_jid
(
jid_stripped
)
if
self
.
connection
.
getRoster
().
getItem
(
agent
):
# to be sure it's a transport contact
transport_auto_auth
=
True
no_log_for
=
gajim
.
config
.
get_per
(
'
accounts
'
,
self
.
name
,
...
...
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