void LaconicaConversationTimelineWidget::slotConversationFetched(Choqok::Account* theAccount,
                                                                 const ChoqokId& convId,
                                                                 QList< Choqok::Post* > posts)
{
    if( currentAccount() == theAccount && convId == this->conversationId){
        setWindowTitle(i18n("Conversation"));
        addNewPosts(posts);
        foreach(Choqok::UI::PostWidget* post, postWidgets()){
            post->setReadWithSignal();
        }
        QTimer::singleShot(0, this, SLOT(updateHeight()));
    }
void GNUSocialApiConversationTimelineWidget::updateHeight()
{
    int height = 25;
    for (Choqok::UI::PostWidget *wd: postWidgets()) {
        height += wd->height() + 5;
    }
    if (height > choqokMainWindow->height()) {
        height = choqokMainWindow->height();
    }
    resize(width(), height);
    if (!Choqok::AppearanceSettings::useReverseOrder()) {
        scrollToBottom();
    }
}