diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-04-13 07:38:37 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-04-13 07:38:37 (GMT) |
commit | 59d973448045888d2ffa8e5cd949357d9c93ead3 (patch) | |
tree | 0d3426f6e7d2cccdc41a3d968a0062f687425e09 /Swiften/Roster/ContactRosterItem.cpp | |
parent | 944d3e817919d26e3fbf92f3c9eab6bbe9a1d2ca (diff) | |
download | swift-contrib-59d973448045888d2ffa8e5cd949357d9c93ead3.zip swift-contrib-59d973448045888d2ffa8e5cd949357d9c93ead3.tar.bz2 |
Don't lose presence when receiving a roster item rename push
Resolves: #312
Diffstat (limited to 'Swiften/Roster/ContactRosterItem.cpp')
-rw-r--r-- | Swiften/Roster/ContactRosterItem.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Roster/ContactRosterItem.cpp b/Swiften/Roster/ContactRosterItem.cpp index 06f8536..39e96bd 100644 --- a/Swiften/Roster/ContactRosterItem.cpp +++ b/Swiften/Roster/ContactRosterItem.cpp @@ -22,6 +22,10 @@ ContactRosterItem::~ContactRosterItem() { delete widget_; } +void ContactRosterItem::setName(const String& name) { + widget_->setText(name); +} + StatusShow::Type ContactRosterItem::getStatusShow() { return statusShow_; } |