* Add react-navigator dependency * Add react-native-navigation dependency * react-native-navigation, ios and android config * update react-native-navigation * New navigation and code cleanup * Set ScreenBackgroundColor * Fix channel drawer event issue * Applied RNPN non-working popInitial notification * Android navbar and back button * packages and notices * MM-redux update * Fix draft on team switch * Remove custom NavBar
10 lines
343 B
JavaScript
10 lines
343 B
JavaScript
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
import {makeDirectChannel} from 'app/actions/views/more_dms';
|
|
|
|
export function handleSendMessage(otherUserId) {
|
|
return async (dispatch, getState) => {
|
|
await makeDirectChannel(otherUserId)(dispatch, getState);
|
|
};
|
|
}
|