Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bronko
gajim
Commits
8adb6ce3
Commit
8adb6ce3
authored
Dec 11, 2019
by
Daniel Brötzmann
Committed by
Philipp Hörist
Dec 13, 2019
Browse files
RosterTooltip: Use group chat description for status
parent
98f2e2f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
gajim/gtk/tooltips.py
View file @
8adb6ce3
...
...
@@ -385,7 +385,14 @@ def _populate_grid(self, contacts, account, typ):
self
.
table
.
show_all
()
else
:
# only one resource
if
contact
.
show
and
contact
.
status
:
if
contact
.
is_groupchat
:
disco_info
=
app
.
logger
.
get_last_disco_info
(
contact
.
jid
)
if
disco_info
is
not
None
:
description
=
disco_info
.
muc_description
if
description
:
self
.
_ui
.
status
.
set_text
(
description
)
self
.
_ui
.
status
.
show
()
elif
contact
.
show
and
contact
.
status
:
status
=
contact
.
status
.
strip
()
if
status
:
self
.
_ui
.
status
.
set_text
(
status
)
...
...
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