Commit 2f406bd1 authored by Martin Klapetek's avatar Martin Klapetek Committed by Alexander Akulich

[declarative] Emit Conversation::validityChanged at the end

...with the rest of the signals
Reviewed-by: Alexander Akulich's avatarAlexandr Akulich <akulichalexander@gmail.com>
parent a63c02dc
......@@ -90,7 +90,6 @@ void Conversation::setTextChannel(const Tp::TextChannelPtr& channel)
d->valid = channel->isValid();
connect(channel.data(), SIGNAL(invalidated(Tp::DBusProxy*,QString,QString)),
SLOT(onChannelInvalidated(Tp::DBusProxy*,QString,QString)));
Q_EMIT validityChanged(d->valid);
if (channel->targetContact().isNull()) {
d->isGroupChat = true;
......@@ -106,6 +105,7 @@ void Conversation::setTextChannel(const Tp::TextChannelPtr& channel)
Q_EMIT avatarChanged();
Q_EMIT titleChanged();
Q_EMIT presenceIconChanged();
Q_EMIT validityChanged(d->valid);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment