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
Weblate
gajim
Commits
970aa8c8
Commit
970aa8c8
authored
15 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
fix look in minimized_controls
parent
2367dda7
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
+3
-8
3 additions, 8 deletions
src/common/connection_handlers.py
with
3 additions
and
8 deletions
src/common/connection_handlers.py
+
3
−
8
View file @
970aa8c8
...
...
@@ -2279,14 +2279,9 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
# gc_control might be in the other place if it's minimized. Note:
# this solution might have an impact on the performance.
if
gc_control
is
None
:
for
control
in
gajim
.
interface
.
minimized_controls
[
self
.
name
]:
# Using here this hack instead of isinstance() to avoid risk
# of cycle import when trying to import GroupchatControl from
# groupchat_control.py
if
control
.
__class__
.
__name__
==
'
GroupchatControl
'
and
\
control
.
room_jid
==
room_jid
:
gc_control
=
control
if
gc_control
is
None
and
\
room_jid
in
gajim
.
interface
.
minimized_controls
[
self
.
name
]:
gc_control
=
control
if
errcode
==
'
502
'
:
# Internal Timeout:
...
...
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