зеркало из https://github.com/mozilla/pjs.git
Bug 134814 - Collapsing messages will collapse too much
fix previous patch p=gijskruitbosch@gmail.com r=silver@warwickcompsoc.co.uk chatzilla only
This commit is contained in:
Родитель
d1e544168b
Коммит
88b293408f
|
@ -3852,7 +3852,9 @@ function addHistory (source, obj, mergeData)
|
|||
|
||||
// Does the motif collapse everything, regardless of type?
|
||||
// NOTE: the collapseActions pref can override this for actions
|
||||
needSameType = !("collapsemore" in source.motifSettings);
|
||||
needSameType = !(("motifSettings" in source) &&
|
||||
source.motifSettings &&
|
||||
("collapsemore" in source.motifSettings));
|
||||
}
|
||||
|
||||
if (sameNick && sameDest && (haveSameType || !needSameType) &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче