import { MessageDirection } from '../model' ; export function getOppositeDirection ( direction ) { return direction === MessageDirection . Incoming ? MessageDirection . Outgoing : MessageDirection . Incoming ; }