[telepathy-qt4/master] Channel: Always use change-reason even if the reason is None, so GroupMemberChangeDetails::hasReason returns true.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Fri Jul 24 10:56:42 PDT 2009
---
TelepathyQt4/channel.cpp | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/TelepathyQt4/channel.cpp b/TelepathyQt4/channel.cpp
index dd45042..8dd37c9 100644
--- a/TelepathyQt4/channel.cpp
+++ b/TelepathyQt4/channel.cpp
@@ -2374,9 +2374,7 @@ void Channel::onMembersChanged(const QString &message,
details.insert("actor", actor);
}
- if (reason != ChannelGroupChangeReasonNone) {
- details.insert("change-reason", reason);
- }
+ details.insert("change-reason", reason);
onMembersChangedDetailed(added, removed, localPending, remotePending, details);
}
--
1.5.6.5
More information about the telepathy-commits
mailing list