mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-17 18:32:20 +02:00
remove dead code
This commit is contained in:
parent
a7259b31b6
commit
f8e1977f0a
@ -56,15 +56,3 @@ export function textSerialize(model) {
|
||||
}
|
||||
}, "");
|
||||
}
|
||||
|
||||
export function requiresHtml(model) {
|
||||
return model.parts.some(part => {
|
||||
switch (part.type) {
|
||||
case "room-pill":
|
||||
case "user-pill":
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user