verdnatura-chat/app/actions
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
..
actionsTypes.js [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
activeUsers.js
app.js [FIX] Back button closing activity when on root stack screen (#2804) 2021-01-15 14:49:00 -03:00
connect.js
crashReport.js [NEW] Toggle analytics events (#2422) 2020-09-11 14:34:11 -03:00
createChannel.js
createDiscussion.js
customEmojis.js
deepLinking.js
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
inviteLinks.js
login.js [FIX] Screen Lock (#2177) 2020-06-09 17:19:54 -03:00
messages.js
permissions.js [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
room.js [NEW] Livechat (#2004) 2020-05-08 14:36:10 -03:00
rooms.js
selectedUsers.js
server.js [FIX] Rooms list not being updated on some cases (#2765) 2021-01-13 11:16:00 -03:00
settings.js
share.js [FIX] App always sends auth for Avatar requests (#2517) 2020-10-30 12:54:02 -03:00
sortPreferences.js
usersTyping.js