Only hide rooms in element-web
This commit is contained in:
parent
698deb0613
commit
5871cc7d9f
|
@ -1,11 +1,12 @@
|
|||
final: prev: {
|
||||
element-web = prev.element-web.overrideAttrs (old: {
|
||||
preInstall = ''
|
||||
bundlecss=$(find . -name 'bundle.css')
|
||||
cat ${./user.css} >> $bundlecss
|
||||
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} webapp/media/message.ogg
|
||||
'';
|
||||
});
|
||||
element-web = final.runCommand "maralorns-element-web" {} ''
|
||||
cp -r ${prev.element-web} $out
|
||||
cd $out
|
||||
chmod u+w -R $out
|
||||
bundlecss=$(find . -name 'bundle.css')
|
||||
cat ${./user.css} >> $bundlecss
|
||||
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;
|
||||
}
|
||||
|
||||
/*
|
||||
.mx_LeftPanel_wrapper {
|
||||
.mx_RoomSublist[aria-label="Rooms"] .mx_RoomTile {
|
||||
display: none !important;
|
||||
}
|
||||
*/
|
Loading…
Reference in a new issue