Rocket.Chat.ReactNative/app/views/RoomView
Gung Wah e98116587d
[CHORE] Add permissions to Redux (#2914)
* [FIX] Add permissions to Redux store

* add only permissions being used in the app

* add clear permissions reducer

* call RocketChat.hasPermission from reducer

* add server version comparison on getPermissions

* refactor hasPermission function

* refactor hasPermission function

* remove uncomment code

* use Q.experimentalSortBy()

* add coerce function

* Change Rocketchat.hasPermission

* Apply on isReadOnly

* Apply to RoomInfoEditView

* Apply to RoomInfoView and RoomInfoEditView

* canAutoTranslate

* Unnecessary clear permissions

* Revert getUpdatedSince

* Naming fix

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-25 13:41:44 -03:00
..
Header [FIX] RightButtonsContainer re-render check not returning default value (#2899) 2021-02-23 14:44:01 -03:00
Banner.js [CHORE] Update icon names (#2318) 2020-07-27 16:53:33 -03:00
EmptyRoom.js [NEW] Themes (#1298) 2019-12-04 13:39:53 -03:00
JoinCode.js [FIX] App not prompting join code for password protected channels (#2514) 2020-12-01 14:30:39 -03:00
List.js [IMPROVEMENT] Use class variable instead of state for List's animated (#2718) 2020-12-17 09:56:53 -03:00
ReactionPicker.js [CHORE] BackdropOpacity based on themes (#2863) 2021-02-19 15:05:47 -03:00
Separator.js [NEW] Threads (#2567) 2020-10-30 14:35:07 -03:00
UploadProgress.js [CHORE] Update icon names (#2318) 2020-07-27 16:53:33 -03:00
index.js [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
styles.js [IMPROVEMENT] Close announcement banner (#2064) 2020-05-08 09:57:04 -03:00