vn-verdnaturachat/app/lib/methods
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
..
helpers [FIX] Channels list not following the same sorting logic from web client (#2763) 2021-01-05 09:53:42 -03:00
subscriptions [FIX] DM rooms show typing status from last group room (#2878) 2021-02-23 13:57:18 -03:00
actions.js [FIX] HTTP Basic Auth (#1753) 2020-02-20 09:58:13 -03:00
callJitsi.js [FIX] Support Jitsi_URL_Room_Hash (#2905) 2021-02-22 18:37:13 -03:00
canOpenRoom.js [FIX] Support Jitsi_URL_Room_Hash (#2905) 2021-02-22 18:37:13 -03:00
enterpriseModules.js [FIX] Share extension memory issues on iOS (#2845) 2021-02-01 14:18:55 -03:00
getCustomEmojis.js [CHORE] Remove InteractionManager blocks (#2906) 2021-02-23 15:36:20 -03:00
getPermissions.js [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
getRoles.js [CHORE] Remove InteractionManager blocks (#2906) 2021-02-23 15:36:20 -03:00
getRooms.js [FIX] Fetch rooms date (#662) 2019-02-27 17:29:37 -03:00
getSettings.js [CHORE] Change database location to Experimental Apps (#2483) 2020-09-23 14:16:04 -03:00
getSlashCommands.js [CHORE] Remove InteractionManager blocks (#2906) 2021-02-23 15:36:20 -03:00
getUsersPresence.js [FIX] Share extension memory issues on iOS (#2845) 2021-02-01 14:18:55 -03:00
loadMessagesForRoom.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
loadMissedMessages.js [FIX] Load messages (#1910) 2020-03-30 17:10:19 -03:00
loadThreadMessages.js [CHORE] Remove InteractionManager blocks (#2906) 2021-02-23 15:36:20 -03:00
logout.js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
readMessages.js [FIX] Load messages (#1910) 2020-03-30 17:10:19 -03:00
sendFileMessage.js [FIX] Filenames are incorrect in non-latin alphabets on upload (#2671) 2020-12-01 17:19:48 -03:00
sendMessage.js [FIX] Temp message ignoring real name (#2919) 2021-02-23 16:05:34 -03:00
updateMessages.js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00