mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 21:40:36 -04:00
Added size limit for chat types - Public, Private, Lobby, Distant
Set the size limit for private and distant chat to unlimited. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7761 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
93f77a0e2c
commit
55be6675af
6 changed files with 60 additions and 17 deletions
|
@ -252,9 +252,9 @@ bool p3Msgs::clearPrivateChatQueue(bool incoming, const RsPeerId& id)
|
|||
return mChatSrv->clearPrivateChatQueue(incoming, id);
|
||||
}
|
||||
|
||||
int p3Msgs::getMaxMessageSecuritySize()
|
||||
uint32_t p3Msgs::getMaxMessageSecuritySize(int type)
|
||||
{
|
||||
return mChatSrv->getMaxMessageSecuritySize();
|
||||
return mChatSrv->getMaxMessageSecuritySize(type);
|
||||
}
|
||||
|
||||
void p3Msgs::getOwnAvatarData(unsigned char *& data,int& size)
|
||||
|
|
|
@ -161,7 +161,7 @@ class p3Msgs: public RsMsgs
|
|||
/*!
|
||||
* Return the max message size for security forwarding
|
||||
*/
|
||||
virtual int getMaxMessageSecuritySize();
|
||||
virtual uint32_t getMaxMessageSecuritySize(int type);
|
||||
|
||||
/*!
|
||||
* sends immediate status string to a specific peer, e.g. in a private chat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue