diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-24 22:31:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-24 22:31:47 +0300 |
commit | 7da1fab7ee72517bf2359a184d544734e92be6a9 (patch) | |
tree | 02b48427edcbdf55924d65d4dfe91beaff8c2b0c /src/actions/chat.cpp | |
parent | 7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e (diff) | |
download | mv-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.gz mv-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.bz2 mv-7da1fab7ee72517bf2359a184d544734e92be6a9.tar.xz mv-7da1fab7ee72517bf2359a184d544734e92be6a9.zip |
From ChatTab::chatLog removed default parameter for message owner type.
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r-- | src/actions/chat.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index 974cc057f..125a9b94c 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -408,7 +408,8 @@ impHandler(toggle) { // TRANSLATORS: message from toggle chat command event.tab->chatLog(chatWindow->getReturnTogglesChat() ? - _("Return toggles chat.") : _("Message closes chat.")); + _("Return toggles chat.") : _("Message closes chat."), + ChatMsgType::BY_SERVER); } return true; } @@ -419,7 +420,8 @@ impHandler(toggle) if (event.tab) { // TRANSLATORS: message from toggle chat command - event.tab->chatLog(_("Return now toggles chat.")); + event.tab->chatLog(_("Return now toggles chat."), + ChatMsgType::BY_SERVER); } if (chatWindow) chatWindow->setReturnTogglesChat(true); @@ -428,14 +430,18 @@ impHandler(toggle) if (event.tab) { // TRANSLATORS: message from toggle chat command - event.tab->chatLog(_("Message now closes chat.")); + event.tab->chatLog(_("Message now closes chat."), + ChatMsgType::BY_SERVER); } if (chatWindow) chatWindow->setReturnTogglesChat(false); return true; case -1: if (event.tab) - event.tab->chatLog(strprintf(BOOLEAN_OPTIONS, "toggle")); + { + event.tab->chatLog(strprintf(BOOLEAN_OPTIONS, "toggle"), + ChatMsgType::BY_SERVER); + } return true; default: return true; |