summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/RosterItemPayload.h')
-rw-r--r--Swiften/Elements/RosterItemPayload.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Swiften/Elements/RosterItemPayload.h b/Swiften/Elements/RosterItemPayload.h
index 9120e12..84b2887 100644
--- a/Swiften/Elements/RosterItemPayload.h
+++ b/Swiften/Elements/RosterItemPayload.h
@@ -37,12 +37,18 @@ namespace Swift {
void setSubscriptionRequested() { ask_ = true; }
bool getSubscriptionRequested() const { return ask_; }
+ const String& getUnknownContent() const { return unknownContent_; }
+ void addUnknownContent(const String& c) {
+ unknownContent_ += c;
+ }
+
private:
JID jid_;
String name_;
Subscription subscription_;
std::vector<String> groups_;
bool ask_;
+ String unknownContent_;
};
}