added spaces when sending whispers

This commit is contained in:
fourtf 2018-05-25 13:55:55 +02:00
parent 9aa9b90267
commit abd46d0bb8

View file

@ -169,7 +169,7 @@ QString CommandController::execCommand(const QString &text, ChannelPtr channel,
QString rest = ""; QString rest = "";
for (int i = 2; i < words.length(); i++) { for (int i = 2; i < words.length(); i++) {
rest += words[i]; rest += words[i] + " ";
} }
b.emplace<messages::TextElement>(rest, messages::MessageElement::Text); b.emplace<messages::TextElement>(rest, messages::MessageElement::Text);