aboutsummaryrefslogtreecommitdiff
path: root/src/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.c')
-rw-r--r--src/event.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/event.c b/src/event.c
index 5d6d72d..7335e91 100644
--- a/src/event.c
+++ b/src/event.c
@@ -263,7 +263,14 @@ event_joining_contact(MESSENGER_Application *app,
263 "avatar-default-symbolic" 263 "avatar-default-symbolic"
264 ); 264 );
265 265
266 struct GNUNET_TIME_Absolute timestamp = GNUNET_CHAT_message_get_timestamp(
267 msg
268 );
269
270 const gchar *time = GNUNET_STRINGS_absolute_time_to_string(timestamp);
271
266 gtk_label_set_text(message->text_label, join_message); 272 gtk_label_set_text(message->text_label, join_message);
273 gtk_label_set_text(message->timestamp_label, time? time : "");
267 274
268 gtk_container_add( 275 gtk_container_add(
269 GTK_CONTAINER(handle->chat->messages_listbox), 276 GTK_CONTAINER(handle->chat->messages_listbox),