Make command output work in server tabs
This commit is contained in:
parent
068f3c04a0
commit
6608bc545a
File diff suppressed because one or more lines are too long
@ -14,7 +14,7 @@ const Message = Record({
|
|||||||
});
|
});
|
||||||
|
|
||||||
function addMessage(state, message) {
|
function addMessage(state, message) {
|
||||||
let dest = message.to || message.from;
|
let dest = message.to || message.from || message.server;
|
||||||
if (message.from && message.from.indexOf('.') !== -1) {
|
if (message.from && message.from.indexOf('.') !== -1) {
|
||||||
dest = message.server;
|
dest = message.server;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user