0
0
Fork 0

Change conversations UI (#11896)

Fix #11414, fix #9860, fix #10434
This commit is contained in:
Eugen Rochko 2019-09-21 20:01:16 +02:00 committed by GitHub
parent 33b2e0f189
commit bc5678d015
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 286 additions and 75 deletions

View file

@ -56,6 +56,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
onReply (status, router) {
dispatch((_, getState) => {
let state = getState();
if (state.getIn(['compose', 'text']).trim().length !== 0) {
dispatch(openModal('CONFIRM', {
message: intl.formatMessage(messages.replyMessage),