[GooglePlusPostBridge] Skip posts without message

This commit is contained in:
logmanoriginal 2018-07-31 19:15:09 +02:00
parent 53278b2eed
commit 53bdfa3bf0

View file

@ -57,6 +57,11 @@ class GooglePlusPostBridge extends BridgeAbstract{
$message = $post->find('div[jsname=EjRJtf]', 0); $message = $post->find('div[jsname=EjRJtf]', 0);
// Empty messages are not supported right now
if(!$message) {
continue;
}
$item['content'] = '<div style="float: left; padding: 0 10px 10px 0;"><a href="' $item['content'] = '<div style="float: left; padding: 0 10px 10px 0;"><a href="'
. $this->url . $this->url
. '"><img align="top" alt="' . '"><img align="top" alt="'