mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-31 21:21:08 +00:00
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:
parent
a229a38203
commit
576a35fdd4
@ -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) &&
|
||||
|
Loading…
Reference in New Issue
Block a user