diff --git a/src/sip/twitter/twitter.cpp b/src/sip/twitter/twitter.cpp index b33b77666..2e28b64e5 100644 --- a/src/sip/twitter/twitter.cpp +++ b/src/sip/twitter/twitter.cpp @@ -282,6 +282,7 @@ TwitterPlugin::parseGotTomahawk( const QRegExp ®ex, const QString &screenName { QString myScreenName = TomahawkSettings::instance()->twitterScreenName(); qDebug() << "TwitterPlugin found an exact matching Got Tomahawk? mention or direct message from user " << screenName; + regex.exactMatch( text ); if ( text.startsWith( '@' ) && regex.captureCount() >= 2 && regex.cap( 1 ) != QString( '@' + myScreenName ) ) { qDebug() << "TwitterPlugin skipping mention because it's directed @someone that isn't us";