Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Yann Leboulanger
gajim
Commits
1e933c26
Commit
1e933c26
authored
Oct 05, 2018
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dont show MUC subject on rejoin
- We only show it, if it changed
parent
e8c5ad64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
gajim/groupchat_control.py
gajim/groupchat_control.py
+3
-0
No files found.
gajim/groupchat_control.py
View file @
1e933c26
...
...
@@ -1535,6 +1535,9 @@ class GroupchatControl(ChatControlBase):
return
if
event
.
jid
!=
self
.
room_jid
:
return
if
self
.
subject
==
event
.
subject
:
# Probably a rejoin, we already showed that subject
return
self
.
set_subject
(
event
.
subject
)
text
=
_
(
'%(nick)s has set the subject to %(subject)s'
)
%
{
'nick'
:
event
.
nickname
,
'subject'
:
event
.
subject
}
...
...
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