diff --git a/code_patches.sh b/code_patches.sh index a22f45e..0b952e0 100755 --- a/code_patches.sh +++ b/code_patches.sh @@ -33,11 +33,11 @@ cp -f ./lake.jpg ../res/themes/element/img/backgrounds/lake.jpg echo 'Copying custom config.json...' cp -f ./config.json ../config.sample.json -echo 'Backing up _EmojiPicker.scss...' -if [ ! -f ../node_modules/matrix-react-sdk/res/css/views/emojipicker/_EmojiPicker.scss.backup ]; then - cp ../node_modules/matrix-react-sdk/res/css/views/emojipicker/_EmojiPicker.scss ../node_modules/matrix-react-sdk/res/css/views/emojipicker/_EmojiPicker.scss.backup +echo 'Backing up _EmojiPicker.pcss...' +if [ ! -f ../node_modules/matrix-react-sdk/res/css/views/emojipicker/_EmojiPicker.pcss.backup ]; then + cp ../node_modules/matrix-react-sdk/res/css/views/emojipicker/_EmojiPicker.pcss ../node_modules/matrix-react-sdk/res/css/views/emojipicker/_EmojiPicker.pcss.backup else - cp ../node_modules/matrix-react-sdk/res/css/views/emojipicker/_EmojiPicker.scss.backup ../node_modules/matrix-react-sdk/res/css/views/emojipicker/_EmojiPicker.scss + cp ../node_modules/matrix-react-sdk/res/css/views/emojipicker/_EmojiPicker.pcss.backup ../node_modules/matrix-react-sdk/res/css/views/emojipicker/_EmojiPicker.pcss fi echo 'Adding custom emoji picker CSS...' @@ -46,7 +46,7 @@ echo " text-overflow: clip; white-space: nowrap; overflow: hidden; -}" >> ../node_modules/matrix-react-sdk/res/css/views/emojipicker/_EmojiPicker.scss +}" >> ../node_modules/matrix-react-sdk/res/css/views/emojipicker/_EmojiPicker.pcss echo 'Adding greentext patch...' diff --git a/config.json b/config.json index 3db04b6..5d258bc 100644 --- a/config.json +++ b/config.json @@ -33,14 +33,16 @@ "feature_latex_maths": "labs", "feature_dehydration": "labs", "feature_report_to_moderators": "labs", - "feature_hidden_read_receipts": "labs", "feature_polls": "labs", "feature_location_share_pin_drop": "labs", "feature_location_share_live": "labs", "feature_breadcrumbs_v2": "labs", "feature_spotlight": "labs", "feature_jump_to_date": "labs", - "feature_voice_rooms": "labs", + "feature_video_rooms": "labs", + "feature_html_topic": "labs", + "feature_exploring_public_spaces": "labs", + "feature_favourite_messages": "labs", "feature_extensible_events": "labs" }, "default_federate": true,