aboutsummaryrefslogtreecommitdiff
path: root/src/ui/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/chat.c')
-rw-r--r--src/ui/chat.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/chat.c b/src/ui/chat.c
index 92dbdec..f19ee1e 100644
--- a/src/ui/chat.c
+++ b/src/ui/chat.c
@@ -24,6 +24,8 @@
24 24
25#include "chat.h" 25#include "chat.h"
26 26
27#include <gdk/gdkkeysyms.h>
28
27#include "messenger.h" 29#include "messenger.h"
28#include "picker.h" 30#include "picker.h"
29#include "profile_entry.h" 31#include "profile_entry.h"
@@ -61,7 +63,8 @@ handle_chat_contacts_listbox_row_activated(UNUSED GtkListBox* listbox,
61 g_hash_table_lookup(app->ui.bindings, row) 63 g_hash_table_lookup(app->ui.bindings, row)
62 ); 64 );
63 65
64 if ((!contact) || (!GNUNET_CHAT_contact_get_key(contact))) 66 if ((!contact) || (!GNUNET_CHAT_contact_get_key(contact)) ||
67 (GNUNET_YES == GNUNET_CHAT_contact_is_owned(contact)))
65 return; 68 return;
66 69
67 struct GNUNET_CHAT_Context *context = GNUNET_CHAT_contact_get_context( 70 struct GNUNET_CHAT_Context *context = GNUNET_CHAT_contact_get_context(