Enabled history for chat lobbies (not saved to disc)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6322 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2013-04-21 16:43:49 +00:00
parent c5c559ffe1
commit be34ede8fd
4 changed files with 23 additions and 13 deletions

View file

@ -42,6 +42,7 @@ RsHistoryMsgItem::RsHistoryMsgItem() : RsItem(RS_PKT_VERSION1, RS_PKT_CLASS_CONF
sendTime = 0;
recvTime = 0;
msgId = 0;
saveToDisc = true;
}
RsHistoryMsgItem::~RsHistoryMsgItem()
@ -57,6 +58,7 @@ void RsHistoryMsgItem::clear()
recvTime = 0;
message.clear();
msgId = 0;
saveToDisc = true;
}
std::ostream& RsHistoryMsgItem::print(std::ostream &out, uint16_t indent)

View file

@ -50,6 +50,7 @@ public:
/* not serialised */
uint32_t msgId;
bool saveToDisc;
};
class RsHistorySerialiser: public RsSerialType