mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
Enable echo-message
This commit is contained in:
parent
9d7704ea54
commit
0aa8cca483
2 changed files with 6 additions and 3 deletions
|
@ -477,8 +477,11 @@ export default class App extends Component {
|
|||
|
||||
var msg = { command: "PRIVMSG", params: [target, text] };
|
||||
this.client.send(msg);
|
||||
msg.prefix = { name: this.client.nick };
|
||||
this.addMessage(target, msg);
|
||||
|
||||
if (!this.client.enabledCaps["echo-message"]) {
|
||||
msg.prefix = { name: this.client.nick };
|
||||
this.addMessage(target, msg);
|
||||
}
|
||||
}
|
||||
|
||||
handleBufferListClick(name) {
|
||||
|
|
|
@ -2,7 +2,7 @@ import * as irc from "./irc.js";
|
|||
|
||||
// Static list of capabilities that are always requested when supported by the
|
||||
// server
|
||||
const permanentCaps = ["message-tags", "server-time", "multi-prefix", "away-notify"];
|
||||
const permanentCaps = ["message-tags", "server-time", "multi-prefix", "away-notify", "echo-message"];
|
||||
|
||||
export default class Client extends EventTarget {
|
||||
ws = null;
|
||||
|
|
Loading…
Reference in a new issue