         return if not data
         {href, thumb} = data
     else if att?[0]?.embed_item?.type
+        console.log('THIS SHOULD NOT HAPPEN WTF !!')
         data = extractProtobufStyle(att)
         return if not data
         {href, thumb} = data

onclick = (e) ->
  e.preventDefault()
  address = e.currentTarget.getAttribute 'href'
  patt = new RegExp("^(https?[:][/][/]www[.]google[.](com|[a-z][a-z])[/]url[?]q[=])([^&]+)(&.+)*")
  if patt.test(address)
    address = address.replace(patt, '$3')
    address = unescape(address)
  shell.openExternal fixlink(address)

# helper method to group events in time/user bunches
groupEvents = (es, entity) ->

    updated 'conv'

extractProtobufStyle = (att) ->
    href = null
    thumb = null

    embed_item = att?[0]?.embed_item
    {plus_photo, data, type_} = embed_item ? {}
    if plus_photo?
        href  = plus_photo.data?.url
        thumb = plus_photo.data?.thumbnail?.image_url
        href  = plus_photo.data?.thumbnail?.url
        isVideo = plus_photo.data?.media_type isnt 'MEDIA_TYPE_PHOTO'
        return {href, thumb}

    t = type_?[0]
    return console.warn 'ignoring (old) attachment type', att unless t == 249
    k = Object.keys(data)?[0]
