commit d46e99d50ba3f096f12298bd45169833fe0bcf6d
parent 240c26e52840a5422ee838957fb0d31286395a65
Author: sin <sin@2f30.org>
Date: Mon, 15 Sep 2014 18:06:25 +0100
For now print messages on the main screen too
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ratatox.c b/ratatox.c
@@ -226,6 +226,7 @@ cb_friend_message(Tox *m, int32_t fid, const uint8_t *data, uint16_t len, void *
t = time(NULL);
strftime(buft, sizeof(buft), "%F %R", localtime(&t));
writeparam(f, "text_out", "a", "%s %s\n", buft, msg);
+ printout("%s %s\n", f->namestr, msg);
break;
}
}