import { JID } from '@xmpp/jid' ; import { Room } from '../services/adapters/xmpp/plugins/multi-user-chat.plugin' ; import { Contact } from './contact' ; export type Recipient = Contact | Room ; export function isJid ( o ) { return ! ! o . bare ; }