muc-views: Don't show subject change message in new MUC
This commit is contained in:
parent
3d3d97e75b
commit
16d2fa3f48
@ -1963,6 +1963,9 @@ converse.plugins.add('converse-muc-views', {
|
|||||||
},
|
},
|
||||||
|
|
||||||
setChatRoomSubject () {
|
setChatRoomSubject () {
|
||||||
|
if (!subject.text && !subject.author) {
|
||||||
|
return; // Probably a new MUC
|
||||||
|
}
|
||||||
// For translators: the %1$s and %2$s parts will get
|
// For translators: the %1$s and %2$s parts will get
|
||||||
// replaced by the user and topic text respectively
|
// replaced by the user and topic text respectively
|
||||||
// Example: Topic set by JC Brand to: Hello World!
|
// Example: Topic set by JC Brand to: Hello World!
|
||||||
|
Loading…
Reference in New Issue
Block a user