|
@@ -339,18 +339,6 @@
|
|
|
return jid + (nick !== null ? `/${nick}` : "");
|
|
|
},
|
|
|
|
|
|
- sendChatRoomFile (text, to) {
|
|
|
- const msgid = _converse.connection.getUniqueId();
|
|
|
- const stanza = $msg({
|
|
|
- 'from': _converse.connection.jid,
|
|
|
- 'to': to,
|
|
|
- 'type': 'groupchat',
|
|
|
- 'id': msgid
|
|
|
- }).c("body").t(text).up()
|
|
|
- .c("x", {'xmlns': Strophe.NS.OUTOFBAND}).c('url').t(text).up();
|
|
|
- _converse.connection.send(stanza);
|
|
|
- },
|
|
|
-
|
|
|
sendChatState () {
|
|
|
/* Sends a message with the status of the user in this chat session
|
|
|
* as taken from the 'chat_state' attribute of the chat box.
|