mastodon/app/javascript/mastodon/features/ui/components/messaging/instantMessaging.js

40 lines
759 B
JavaScript
Raw Normal View History

import React from 'react';
import ContactsList from './contacts-list';
import ConversationStack from './conversationStack';
export default class InstantMessaging extends React.PureComponent {
// static propTypes = {
// following : PropTypes.array,
// conversations: PropTypes.array,
// };
// static defaultProps = {
// threadsCompile: true,
// };
// openConversationWith(account) {
// let conversationFound = account;
// if conversation exist, focus on it
// if (conversationFound) {
//
// } else {
//
// }
// else, create conversation and focus on it
// };
// submitCompose() {
//
// };
render() {
return (
<div >
<ContactsList />
<ConversationStack />
</div >
);
}
};