about summary refs log tree commit diff stats
path: root/src/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-11-08 22:14:41 +0000
committerJames Booth <boothj5@gmail.com>2012-11-08 22:14:41 +0000
commit76149e1f31c8f659475f0eb2b76d850a640e21fc (patch)
treecc938eeccdf2fac9f91c1ab7b00b44c6a2c5d493 /src/command.c
parentca40405d2adc868ec1cdf9746e6b0580010e28f4 (diff)
downloadprofani-tty-76149e1f31c8f659475f0eb2b76d850a640e21fc.tar.gz
Show delayed time on messages received whilst offline
Also do not show chat state notifications received whilst offline
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command.c b/src/command.c
index 53ec184e..938a6a08 100644
--- a/src/command.c
+++ b/src/command.c
@@ -624,7 +624,7 @@ cmd_execute_default(const char * const inp)
 
         if (prefs_get_chlog()) {
             const char *jid = jabber_get_jid();
-            chat_log_chat(jid, recipient, inp, OUT);
+            chat_log_chat(jid, recipient, inp, OUT, NULL);
         }
 
         win_show_outgoing_msg("me", recipient, inp);
@@ -980,7 +980,7 @@ _cmd_msg(const char * const inp, struct cmd_help_t help)
 
                 if (prefs_get_chlog()) {
                     const char *jid = jabber_get_jid();
-                    chat_log_chat(jid, usr, msg, OUT);
+                    chat_log_chat(jid, usr, msg, OUT, NULL);
                 }
 
             } else {
@@ -1061,7 +1061,7 @@ _cmd_tiny(const char * const inp, struct cmd_help_t help)
 
                 if (prefs_get_chlog()) {
                     const char *jid = jabber_get_jid();
-                    chat_log_chat(jid, recipient, tiny, OUT);
+                    chat_log_chat(jid, recipient, tiny, OUT, NULL);
                 }
 
                 win_show_outgoing_msg("me", recipient, tiny);