add chatlobby option to disable sending typing notifications

This commit is contained in:
RetroPooh 2017-01-20 22:26:50 +03:00
parent f3b3d2b262
commit 0ca477d01b
5 changed files with 24 additions and 2 deletions

View file

@ -514,6 +514,16 @@ void RshareSettings::setChatSendMessageWithCtrlReturn(bool bValue)
setValueToGroup("Chat", "SendMessageWithCtrlReturn", bValue);
}
bool RshareSettings::getChatDoNotSendIsTyping()
{
return valueFromGroup("Chat", "DoNotSendIsTyping", false).toBool();
}
void RshareSettings::setChatDoNotSendIsTyping(bool bValue)
{
setValueToGroup("Chat", "DoNotSendIsTyping", bValue);
}
bool RshareSettings::getChatSendAsPlainTextByDef()
{
return valueFromGroup("Chat", "SendAsPlainTextByDef", false).toBool();