Merge branch 'master' of github.com:fourtf/chatterino2
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "resources.h"
|
||||
#include "settings.h"
|
||||
|
||||
#include <QObjectUserData>
|
||||
#include <QStringList>
|
||||
#include <ctime>
|
||||
#include <list>
|
||||
@@ -228,7 +229,7 @@ Message::Message(const IrcPrivateMessage &ircMessage, Channel &channel,
|
||||
end > ircMessage.content().length())
|
||||
continue;
|
||||
|
||||
QString name = ircMessage.content().mid(start, end - start);
|
||||
QString name = ircMessage.content().mid(start, end - start + 1);
|
||||
|
||||
twitchEmotes.push_back(std::pair<long int, LazyLoadedImage *>(
|
||||
start, Emotes::getTwitchEmoteById(name, id)));
|
||||
|
||||
Reference in New Issue
Block a user