summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-08-27 16:44:13 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-08-27 16:44:13 (GMT)
commitdd9e8b6bb212128c0e5c82a7cf80e2f49597bc31 (patch)
tree4f643562ac0e5b450c8ea8cc7ca3f32fec0fb065 /Swift/Controllers/Chat/MUCController.h
parent435061ca8010455e4294a818508e4822cf057d95 (diff)
downloadswift-dd9e8b6bb212128c0e5c82a7cf80e2f49597bc31.zip
swift-dd9e8b6bb212128c0e5c82a7cf80e2f49597bc31.tar.bz2
Don't tab-complete for users who aren't in the room.
Resolves: #541
Diffstat (limited to 'Swift/Controllers/Chat/MUCController.h')
-rw-r--r--Swift/Controllers/Chat/MUCController.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/MUCController.h b/Swift/Controllers/Chat/MUCController.h
index 7d40ec2..31e3d48 100644
--- a/Swift/Controllers/Chat/MUCController.h
+++ b/Swift/Controllers/Chat/MUCController.h
@@ -9,6 +9,7 @@
#include <boost/shared_ptr.hpp>
#include "Swiften/Base/boost_bsignals.h"
#include <boost/signals/connection.hpp>
+#include <set>
#include "Swiften/Base/String.h"
#include "Swiften/Network/Timer.h"
@@ -70,6 +71,7 @@ namespace Swift {
bool joined_;
boost::bsignals::scoped_connection avatarChangedConnection_;
boost::shared_ptr<Timer> loginCheckTimer_;
+ std::set<String> currentOccupants_;
};
}