mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Fixed bug where /msg not logging chat
This commit is contained in:
parent
34217e4d44
commit
c1cf0b433e
@ -1892,7 +1892,7 @@ _cmd_msg(gchar **args, struct cmd_help_t help)
|
||||
message_send(msg, usr);
|
||||
ui_outgoing_msg("me", usr, msg);
|
||||
|
||||
if ((win_type == WIN_CHAT) && prefs_get_boolean(PREF_CHLOG)) {
|
||||
if (((win_type == WIN_CHAT) || (win_type == WIN_CONSOLE)) && prefs_get_boolean(PREF_CHLOG)) {
|
||||
const char *jid = jabber_get_jid();
|
||||
Jid *jidp = jid_create(jid);
|
||||
chat_log_chat(jidp->barejid, usr, msg, PROF_OUT_LOG, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user