summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-09-27 08:04:45 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-09-27 08:14:43 (GMT)
commit24e53876500f0f5497a84b239d9350676e95751a (patch)
tree2d43b81f6b1619e1f51ac0a591c14d7eafdfc396 /Swiften
parent694cc7318b92aed079badb3cc22428ab108591cf (diff)
downloadswift-contrib-24e53876500f0f5497a84b239d9350676e95751a.zip
swift-contrib-24e53876500f0f5497a84b239d9350676e95751a.tar.bz2
Add support for clearing chat recents.
Resolves: #1001
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/MUC/MUC.cpp4
-rw-r--r--Swiften/MUC/MUC.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/Swiften/MUC/MUC.cpp b/Swiften/MUC/MUC.cpp
index 59917f9..43d3f36 100644
--- a/Swiften/MUC/MUC.cpp
+++ b/Swiften/MUC/MUC.cpp
@@ -244,6 +244,10 @@ void MUC::changeSubject(const std::string& subject) {
stanzaChannel->sendMessage(message);
}
+void MUC::requestConfigurationForm() {
+
+}
+
//FIXME: Recognise Topic changes
//TODO: Invites(direct/mediated)
diff --git a/Swiften/MUC/MUC.h b/Swiften/MUC/MUC.h
index 26247c5..e223de8 100644
--- a/Swiften/MUC/MUC.h
+++ b/Swiften/MUC/MUC.h
@@ -57,6 +57,7 @@ namespace Swift {
bool hasOccupant(const std::string& nick);
void kickUser(const JID& jid);
void changeSubject(const std::string& subject);
+ void requestConfigurationForm();
public:
boost::signal<void (const std::string& /*nick*/)> onJoinComplete;
boost::signal<void (ErrorPayload::ref)> onJoinFailed;