backend: add time_t to sipe_backend_chat_message()
commit6af230e610b27d0a6db930ee43b981aac49f143a
authorStefan Becker <chemobejk@gmail.com>
Sat, 3 Aug 2013 13:58:51 +0000 (3 16:58 +0300)
committerStefan Becker <chemobejk@gmail.com>
Sat, 3 Aug 2013 14:03:35 +0000 (3 17:03 +0300)
treeec0c8da63f3529e887e22704e654adf55535e65a
parent485198832c94a322f6907a3eeeab98f3c7f34973
backend: add time_t to sipe_backend_chat_message()

We need to be able to specify a timestamp if we want to replay messages
from history after joining a channel. A timestamp of 0 signifies to use
the current time.

libpurple backend simply forwards the time_t value instead of
hard-coding to time(NULLL).

Miranda backend is missing timestamp handling (see comments).
src/api/sipe-backend.h
src/core/sipe-groupchat.c
src/core/sipe-im.c
src/core/sipe-incoming.c
src/miranda/miranda-chat.c
src/purple/purple-chat.c
src/telepathy/telepathy-stubs.c