Only hide rooms in element-web
This commit is contained in:
parent
698deb0613
commit
5871cc7d9f
|
@ -1,11 +1,12 @@
|
||||||
final: prev: {
|
final: prev: {
|
||||||
element-web = prev.element-web.overrideAttrs (old: {
|
element-web = final.runCommand "maralorns-element-web" {} ''
|
||||||
preInstall = ''
|
cp -r ${prev.element-web} $out
|
||||||
bundlecss=$(find . -name 'bundle.css')
|
cd $out
|
||||||
cat ${./user.css} >> $bundlecss
|
chmod u+w -R $out
|
||||||
bundlejs=$(find . -name 'vendors~init.js')
|
bundlecss=$(find . -name 'bundle.css')
|
||||||
sed -i 's/return n.room.roomId===e||n.isUnread}/return n.room.roomId===e||n.hasUnreadCount}/' $bundlejs
|
cat ${./user.css} >> $bundlecss
|
||||||
cp ${./orville_communicator.opus} webapp/media/message.ogg
|
bundlejs=$(find . -name 'vendors~init.js')
|
||||||
'';
|
sed -i 's/return n.room.roomId===e||n.isUnread}/return n.room.roomId===e||n.hasUnreadCount}/' $bundlejs
|
||||||
});
|
cp ${./orville_communicator.opus} media/message.ogg
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
font-weight: normal !important;
|
font-weight: normal !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
.mx_RoomSublist[aria-label="Rooms"] .mx_RoomTile {
|
||||||
.mx_LeftPanel_wrapper {
|
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
*/
|
|
Loading…
Reference in a new issue