Add support for STATUSMSG
Closes: https://todo.sr.ht/~emersion/gamja/65
This commit is contained in:
1 parent
3b5b693403
commit
6e20ad872e
2 files changed
+11
-3
No files matched your search
@@ -764,6 +764,15 @@ export default class App extends Component {
|
||||
target = msg.prefix.name;
|
||||
}
|
||||
}
|
||||
|
||||
var allowedPrefixes = client.isupport.get("STATUSMSG");
|
||||
if (allowedPrefixes) {
|
||||
var parts = irc.parseTargetPrefix(target, allowedPrefixes);
|
||||
if (this.isChannel(parts.name)) {
|
||||
target = parts.name;
|
||||
}
|
||||
}
|
||||
|
||||
this.addMessage(serverID, target, msg);
|
||||
break;
|
||||
case "JOIN":
|
||||
|
||||
Reference in new issue
Block a user