void GxsChannelDialog::createMsg()
{
	if (mChannelId.empty()) {
		return;
	}

	CreateGxsChannelMsg *msgDialog = new CreateGxsChannelMsg(mChannelId);
	msgDialog->show();

	/* window will destroy itself! */
}
void GxsChannelPostsWidget::createMsg()
{
    if (groupId().isNull()) {
        return;
    }

    if (!IS_GROUP_SUBSCRIBED(subscribeFlags())) {
        return;
    }

    CreateGxsChannelMsg *msgDialog = new CreateGxsChannelMsg(groupId());
    msgDialog->show();

    /* window will destroy itself! */
}