muc-views: Don't show subject change message in new MUC

This commit is contained in:
JC Brand 2020-01-17 05:36:07 +01:00
parent 3d3d97e75b
commit 16d2fa3f48

View File

@ -1963,6 +1963,9 @@ converse.plugins.add('converse-muc-views', {
},
setChatRoomSubject () {
if (!subject.text && !subject.author) {
return; // Probably a new MUC
}
// For translators: the %1$s and %2$s parts will get
// replaced by the user and topic text respectively
// Example: Topic set by JC Brand to: Hello World!