summaryrefslogtreecommitdiff
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 @@
#include "chat.h"
+#include <gdk/gdkkeysyms.h>
+
#include "messenger.h"
#include "picker.h"
#include "profile_entry.h"
@@ -61,7 +63,8 @@ handle_chat_contacts_listbox_row_activated(UNUSED GtkListBox* listbox,
g_hash_table_lookup(app->ui.bindings, row)
);
- if ((!contact) || (!GNUNET_CHAT_contact_get_key(contact)))
+ if ((!contact) || (!GNUNET_CHAT_contact_get_key(contact)) ||
+ (GNUNET_YES == GNUNET_CHAT_contact_is_owned(contact)))
return;
struct GNUNET_CHAT_Context *context = GNUNET_CHAT_contact_get_context(