diff options
Diffstat (limited to 'src/ui/chat_entry.c')
-rw-r--r-- | src/ui/chat_entry.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/chat_entry.c b/src/ui/chat_entry.c index c7f07ff..a3c7892 100644 --- a/src/ui/chat_entry.c +++ b/src/ui/chat_entry.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include "chat_entry.h" | 25 | #include "chat_entry.h" |
26 | 26 | ||
27 | #include "../application.h" | 27 | #include "../application.h" |
28 | #include "../contact.h" | ||
28 | 29 | ||
29 | UI_CHAT_ENTRY_Handle* | 30 | UI_CHAT_ENTRY_Handle* |
30 | ui_chat_entry_new(MESSENGER_Application *app) | 31 | ui_chat_entry_new(MESSENGER_Application *app) |
@@ -63,6 +64,7 @@ ui_chat_entry_new(MESSENGER_Application *app) | |||
63 | 64 | ||
64 | void | 65 | void |
65 | ui_chat_entry_update(UI_CHAT_ENTRY_Handle *handle, | 66 | ui_chat_entry_update(UI_CHAT_ENTRY_Handle *handle, |
67 | MESSENGER_Application *app, | ||
66 | const struct GNUNET_CHAT_Context *context) | 68 | const struct GNUNET_CHAT_Context *context) |
67 | { | 69 | { |
68 | const struct GNUNET_CHAT_Contact* contact; | 70 | const struct GNUNET_CHAT_Contact* contact; |
@@ -85,7 +87,7 @@ ui_chat_entry_update(UI_CHAT_ENTRY_Handle *handle, | |||
85 | } | 87 | } |
86 | 88 | ||
87 | if (handle->chat) | 89 | if (handle->chat) |
88 | ui_chat_update(handle->chat, context); | 90 | ui_chat_update(handle->chat, app, context); |
89 | } | 91 | } |
90 | 92 | ||
91 | void | 93 | void |