mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-19 12:21:52 +02:00
Add some debugging
This commit is contained in:
@@ -297,9 +297,13 @@ TwitterPlugin::directMessages( const QList< QTweetDMStatus > &messages )
|
|||||||
|
|
||||||
foreach( QTweetDMStatus status, messages )
|
foreach( QTweetDMStatus status, messages )
|
||||||
{
|
{
|
||||||
|
qDebug() << "TwitterPlugin checking direct message from " << status.senderScreenName() << " with content " << status.text();
|
||||||
if ( status.id() > m_cachedDirectMessagesSinceId )
|
if ( status.id() > m_cachedDirectMessagesSinceId )
|
||||||
m_cachedDirectMessagesSinceId = status.id();
|
m_cachedDirectMessagesSinceId = status.id();
|
||||||
QStringList splitList = status.text().split(':');
|
QStringList splitList = status.text().split(':');
|
||||||
|
qDebug() << "TwitterPlugin found " << splitList.length() << " parts to the message; the parts are:";
|
||||||
|
foreach( QString part, splitList )
|
||||||
|
qDebug() << part;
|
||||||
if ( splitList.length() < 5 )
|
if ( splitList.length() < 5 )
|
||||||
continue;
|
continue;
|
||||||
if ( splitList[0] != "TOMAHAWKPEERSTART" )
|
if ( splitList[0] != "TOMAHAWKPEERSTART" )
|
||||||
|
Reference in New Issue
Block a user