From 5b7ccb5a7837e134d28795b7cb8ddc68716ca7c2 Mon Sep 17 00:00:00 2001
From: nurjinn jafar <nurjin.jafar@nordeck.net>
Date: Mon, 24 Aug 2020 14:04:20 +0200
Subject: [PATCH] fix indentation spaces and readability line spaces

---
 src/components/structures/RoomView.js | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js
index e48063530d..240d300751 100644
--- a/src/components/structures/RoomView.js
+++ b/src/components/structures/RoomView.js
@@ -68,6 +68,7 @@ if (DEBUG) {
     // using bind means that we get to keep useful line numbers in the console
     debuglog = console.log.bind(console);
 }
+
 export default createReactClass({
     displayName: 'RoomView',
     propTypes: {
@@ -624,6 +625,7 @@ export default createReactClass({
             ev.stopPropagation();
             ev.preventDefault();
         }
+
     },
     onAction: function(payload) {
         switch (payload.action) {
@@ -632,7 +634,7 @@ export default createReactClass({
                 this._checkIfAlone(this.state.room);
                 break;
             case 'confetti':
-                    animateConfetti(this._roomView.current.offsetWidth);
+                animateConfetti(this._roomView.current.offsetWidth);
                 break;
             case 'post_sticker_message':
               this.injectSticker(
@@ -756,12 +758,12 @@ export default createReactClass({
     },
      onEventDecrypted(ev) {
          if (ev.isBeingDecrypted() || ev.isDecryptionFailure()) return;
-                     this.handleConfetti();
+         this.handleConfetti();
      },
     handleConfetti() {
         if (this.context.isInitialSyncComplete()) {
-                dis.dispatch({action: 'confetti'});
-            }
+            dis.dispatch({action: 'confetti'});
+        }
     },
 
     onRoomName: function(room) {