summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/Chat/Chattables.h')
-rw-r--r--Swift/Controllers/Chat/Chattables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/Chattables.h b/Swift/Controllers/Chat/Chattables.h
index c115fb3..3b5817a 100644
--- a/Swift/Controllers/Chat/Chattables.h
+++ b/Swift/Controllers/Chat/Chattables.h
@@ -16,19 +16,19 @@
namespace Swift {
class Chattables {
public:
struct State {
enum class Type {Room, Person};
JID jid;
/// Empty for no name
std::string name;
- int unreadCount = 0;
+ size_t unreadCount = 0;
Type type;
StatusShow::Type status = StatusShow::None;
//avatar
//status
};
const std::vector<JID>& get() const;
const State& getState(const JID& jid) const;
void addJID(const JID& jid, State::Type type);