mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-15 03:15:01 -05:00
Request message-tags cap
This commit is contained in:
parent
d4394498a2
commit
336ff377c3
1 changed files with 5 additions and 1 deletions
|
@ -223,8 +223,12 @@ function handleCap(msg) {
|
|||
capEnd = false;
|
||||
}
|
||||
|
||||
if (availableCaps["message-tags"] !== undefined) {
|
||||
reqCaps.push("message-tags");
|
||||
}
|
||||
|
||||
if (reqCaps.length > 0) {
|
||||
sendMessage({ command: "CAP", params: ["REQ"].concat(reqCaps) });
|
||||
sendMessage({ command: "CAP", params: ["REQ", reqCaps.join(" ")] });
|
||||
}
|
||||
|
||||
if (!registered && capEnd) {
|
||||
|
|
Loading…
Reference in a new issue