Mercurial > pidgin
diff plugins/jabber/jabber.c @ 1764:1e0613d9526b
[gaim-migrate @ 1774]
I decided to do the time stamp w/ messages thing that Eric put in the TODO list.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Fri, 27 Apr 2001 23:26:19 +0000 |
parents | eb7b48eef4a3 |
children | 2aab66c7a007 |
line wrap: on
line diff
--- a/plugins/jabber/jabber.c Fri Apr 27 22:21:53 2001 +0000 +++ b/plugins/jabber/jabber.c Fri Apr 27 23:26:19 2001 +0000 @@ -509,7 +509,8 @@ } g_snprintf(m, sizeof(m), "%s", msg); - serv_got_im(GJ_GC(j), from, m, 0); + /* FIXME EWIC */ + serv_got_im(GJ_GC(j), from, m, 0, time((time_t)NULL)); if (!same) g_free(from); @@ -562,12 +563,13 @@ msg = xmlnode_get_data(y); g_snprintf(buf, sizeof(buf), "%s now has status: %s", p->from->resource, msg); - write_to_conv(b, buf, WFLAG_SYSTEM, NULL); + write_to_conv(b, buf, WFLAG_SYSTEM, NULL, time((time_t)NULL)); } } else if (msg) { char buf[8192]; g_snprintf(buf, sizeof(buf), "%s", msg); - serv_got_chat_in(GJ_GC(j), b->id, p->from->resource, 0, buf); + /* FIXME EWIC */ + serv_got_chat_in(GJ_GC(j), b->id, p->from->resource, 0, buf, time((time_t)NULL)); } /* } else if (msg) { @@ -702,7 +704,7 @@ char *msg = xmlnode_get_data(y); g_snprintf(buf, sizeof(buf), "%s now has status: %s", p->from->resource, msg); - write_to_conv(cnv, buf, WFLAG_SYSTEM, NULL); + write_to_conv(cnv, buf, WFLAG_SYSTEM, NULL, time((time_t)NULL)); } } }