         else if att?[0]?.embed_item?.type
             {href, thumb} = extractObjectStyle(att)
         else
-            return console.warn 'ignoring attribute', att
+            console.warn 'ignoring attachment', att unless att?.length == 0
+            return
         return unless href
         preload att, href
 

        console.warn 'ignoring (new) type', type


isImg = (url) -> url?.match /\.(png|jpg|gif|svg)$/i

loadImages = (conv_id, cont) ->
    for seg, i in cont?.segment ? []
        href = seg?.link_data?.link_target
        if isImg(href) and !seg.link_data.img
            seg.link_data.img = imgel = document.createElement 'img'
            imgel.src = href
            imgel.onload = (ev) ->
                return unless typeof img.naturalWidth == 'number'
                action 'imgload', conv_id

                                mclz = ['message']
                                mclz.push 'placeholder' if e.placeholder
                                div id:e.event_id, key:e.event_id, class:mclz.join(' '), ->
                                    content = e.chat_message?.message_content
                                    format content
                                    loadInlineImages content
    if lastConv != conv_id
        lastConv = conv_id
        later atTopIfSmall
