From a6748d5d5fd1f37cef6bf26a6256cd299a60a09c Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sat, 24 Apr 2010 17:19:50 +0100 Subject: add timestamp arg to empathy_dispatcher_join_muc --- libempathy/empathy-dispatcher.c | 4 ++-- libempathy/empathy-dispatcher.h | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index 40ee5dd88..a8bc25838 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -1445,6 +1445,7 @@ dispatcher_request_handles_cb (TpConnection *connection, void empathy_dispatcher_join_muc (TpConnection *connection, const gchar *roomname, + gint64 timestamp, EmpathyDispatcherRequestCb *callback, gpointer user_data) { @@ -1466,8 +1467,7 @@ empathy_dispatcher_join_muc (TpConnection *connection, /* Don't know the room handle yet */ request_data = new_dispatcher_request_data (self, connection, - TP_IFACE_CHANNEL_TYPE_TEXT, TP_HANDLE_TYPE_ROOM, 0, NULL, - EMPATHY_DISPATCHER_NON_USER_ACTION, + TP_IFACE_CHANNEL_TYPE_TEXT, TP_HANDLE_TYPE_ROOM, 0, NULL, timestamp, NULL, callback, user_data); request_data->should_ensure = TRUE; diff --git a/libempathy/empathy-dispatcher.h b/libempathy/empathy-dispatcher.h index b3e9e1dda..846fdefee 100644 --- a/libempathy/empathy-dispatcher.h +++ b/libempathy/empathy-dispatcher.h @@ -89,7 +89,9 @@ void empathy_dispatcher_send_file_to_contact (EmpathyContact *contact, /* Request a muc channel */ void empathy_dispatcher_join_muc (TpConnection *connection, - const gchar *roomname, EmpathyDispatcherRequestCb *callback, + const gchar *roomname, + gint64 timestamp, + EmpathyDispatcherRequestCb *callback, gpointer user_data); void empathy_dispatcher_find_requestable_channel_classes_async -- cgit v1.2.3