vn-verdnaturachat/app/reducers
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
..
activeUsers.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
app.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
connect.js [FIX] SDK issues (#621) 2019-02-12 14:14:11 -02:00
crashReport.js [NEW] Toggle analytics events (#2422) 2020-09-11 14:34:11 -03:00
createChannel.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
createDiscussion.js [NEW] Create discussions (#1942) 2020-03-30 16:50:27 -03:00
customEmojis.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
encryption.js [NEW] Encrypted Discussions (#2813) 2021-01-20 14:34:01 -03:00
enterpriseModules.js [IMPROVEMENT] Verify Enterprise status on Omnichannel (#2399) 2020-08-21 10:38:50 -03:00
index.js [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
inviteLinks.js [NEW] Invite links (#1534) 2020-01-28 10:22:35 -03:00
login.js [FIX] Screen Lock (#2177) 2020-06-09 17:19:54 -03:00
permissions.js [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
room.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
rooms.js [NEW] Pull to refresh RoomsList (#1701) 2020-02-11 17:13:44 -03:00
selectedUsers.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
server.js [FIX] Rooms list not being updated on some cases (#2765) 2021-01-13 11:16:00 -03:00
settings.js [FIX] Clear settings on server change (#1967) 2020-04-01 16:24:42 -03:00
share.js [FIX] Storybook not able to import Avatar (#2607) 2020-11-04 13:53:44 -03:00
sortPreferences.js Use Rest API calls (#558) 2018-12-05 18:52:08 -02:00
usersTyping.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00