Rocket.Chat.ReactNative/app/sagas
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
..
createChannel.js [FIX] Breadcrumbs exceeding characters limit (#2862) 2021-02-11 18:44:50 -03:00
createDiscussion.js [FIX] Breadcrumbs exceeding characters limit (#2862) 2021-02-11 18:44:50 -03:00
deepLinking.js [FIX] Support Jitsi_URL_Room_Hash (#2905) 2021-02-22 18:37:13 -03:00
encryption.js [NEW] Encrypted Discussions (#2813) 2021-01-20 14:34:01 -03:00
index.js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
init.js [CHORE] Change database location to Experimental Apps (#2483) 2020-09-23 14:16:04 -03:00
inviteLinks.js [NEW] Invite links (#1534) 2020-01-28 10:22:35 -03:00
login.js [CHORE] Remove some migrations (#2792) 2021-01-14 14:06:38 -03:00
messages.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
room.js [NEW] Log remaining events (#2368) 2020-08-05 10:15:56 -03:00
rooms.js [FIX] Rooms list not being updated on some cases (#2765) 2021-01-13 11:16:00 -03:00
selectServer.js [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
state.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00