Send irc features to the client
This commit is contained in:
parent
9267c661dc
commit
613d9fca6e
20 changed files with 690 additions and 304 deletions
|
@ -79,6 +79,7 @@ export default createCommandMiddleware(COMMAND, {
|
|||
topic({ dispatch, getState, server, channel }, ...newTopic) {
|
||||
if (newTopic.length > 0) {
|
||||
dispatch(setTopic(newTopic.join(' '), channel, server));
|
||||
return;
|
||||
} else if (channel) {
|
||||
const { topic } = getState().channels[server][channel];
|
||||
if (topic) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue