* feat: share message
* index, selectPersonOrChannel, types
* share a message using the chat.postMessage and refactor the interfaces
* minor tweak
* removed rid in from select person or channel
* change title
* add pt-br translation
* compareServerVersion GTE 6.2.0
* test for sharemessage
* view to masterDetail
* fix podfile
* change from forward message to share message
* change from share to forward
* refactor the forward message view, tweak on some styles and add the cleanUpMessage
* minor tweak
* refactor to add MessagePreview and use the same message/index
* fix e2e test
* add the capability to filter the subscsription if the room is read only or not
* minor tweak
* fix disable the send button and add message has been shared
* add try catch and toast or alert
* fix interface
* rename CallAgainActionSheet to StartACallActionSheet
* remove useVideoConf and use videoConfJoin directly
* consider phone on calls
* fix text shrink
* fix mic audio
* change the behavior of call icon on header and RoomInfo
* update types
* update types and variables names
* revert old type
* fix issue on old servers
* rename to a correct naming
* fix translation
* revamp call icon
* add error handling to videoconf capabilities
* lint
* fix role logic
* change const name
* rename comp
* remove commented code
* fix types and apply correct logic
* fix naming
* correct the import
* update icon size
* create timer function for videoConf bellow 5.0
* add subscription to useVideoConf hook
---------
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* create basic useEndpointData for call endpoints using hooks
* remove cache
* create base for useEndpointData test
* create basic useEndpointData for call endpoints using hooks
* remove cache
* create base for useEndpointData test
* fix preset
* update tests
* change order
* create ErrorResult and add error to return
* update tests
* create livechat video conf feature
* add handler to call url
* remove webview and change to openUrl
* Checking settings
* stash
* add action sheet on click init and ad more handlers
* fix logic and call to create a video conf
* change JitsiMeetView from InsideStack to ChatStack to remove modal animation
* fix error logic
* fix stack
* fix comma
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* create new delete account button
Co-Authored-By: Danish Ahmed Mirza <danishmirza30602@gmail.com>
* change modal to action sheet
* better naming
* remove ? from translation
* update translations
* change to new figma layout
* fix export
* remove unused state
* add new text input to base input
* clean up
* update bottom sheet and create a mock
* remove unecessary bracket and fix type
* fix header
* migrate buttons to action sheet
* fix imports
* update yarn.lock
* add separator to styles
* add ternary verification
* minor tweaks: keyboard for landscape android tablet, interface IactionSheetProvider and remove navigation options to get ismasterdetail from redux, fix jest setup
* fix colors
* disconnect from sdk when delete the account
* update snapshot
Co-authored-by: Danish Ahmed Mirza <danishmirza30602@gmail.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
* create TSubscription type
* move logoutOtherLocations to restApis
* mvoe getUserInfo to restApi
* move constants to lib folder
* change Rocketchat methods to sdk methods
* move toggleFavorite to restApis
* move functions to rocketchat folder
* delete old rocketchat file :)
* fix imports
* fix lint and return types
* Fix subscribe to rooms not getting called
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate REST API - addUsersToRoom to Typescript
* Update app/lib/rocketchat/services/restApi.ts
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* minor tweak
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* chore: implementing type for test api - getDiscussions
* Fix DiscussionDetails count usage
* chore: update getDiscussions to use IMessageFromServer
Co-authored-by: Diego Mello <diegolmello@gmail.com>