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
2e1e2e2c
Commit
2e1e2e2c
authored
18 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
chat_control.contact MUST always be a Contact instance. Fixes #1874
parent
14728b60
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/chat_control.py
+3
-0
3 additions, 0 deletions
src/chat_control.py
with
3 additions
and
0 deletions
src/chat_control.py
+
3
−
0
View file @
2e1e2e2c
...
@@ -31,6 +31,7 @@ from common import helpers
...
@@ -31,6 +31,7 @@ from common import helpers
from
message_control
import
MessageControl
from
message_control
import
MessageControl
from
conversation_textview
import
ConversationTextview
from
conversation_textview
import
ConversationTextview
from
message_textview
import
MessageTextView
from
message_textview
import
MessageTextView
from
common.contacts
import
GC_Contact
from
common.logger
import
Constants
from
common.logger
import
Constants
constants
=
Constants
()
constants
=
Constants
()
...
@@ -1619,4 +1620,6 @@ class ChatControl(ChatControlBase):
...
@@ -1619,4 +1620,6 @@ class ChatControl(ChatControlBase):
# Refreshing contact
# Refreshing contact
self
.
contact
=
gajim
.
contacts
.
get_contact_with_highest_priority
(
self
.
contact
=
gajim
.
contacts
.
get_contact_with_highest_priority
(
self
.
account
,
self
.
contact
.
jid
)
self
.
account
,
self
.
contact
.
jid
)
if
isinstance
(
self
.
contact
,
GC_Contact
):
self
.
contact
=
gajim
.
contacts
.
contact_from_gc_contact
(
self
.
contact
)
self
.
draw_banner
()
self
.
draw_banner
()
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