@fnlb-project/stanza
Version:
Modern XMPP in the browser, with a JSON API
12 lines (11 loc) • 548 B
JavaScript
// ====================================================================
// XEP-0308: Last Message Correction
// --------------------------------------------------------------------
// Source: https://xmpp.org/extensions/xep-0308.html
// Version: 1.0 (2013-04-08)
// ====================================================================
import { childAttribute, extendMessage } from '../jxt';
import { NS_CORRECTION_0 } from '../Namespaces';
export default extendMessage({
replace: childAttribute(NS_CORRECTION_0, 'replace', 'id')
});