diff options
author | fiaxh <git@mx.ax.lt> | 2017-08-09 20:44:15 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-08-11 11:56:37 +0200 |
commit | b29d52fddae832d275e66dbd1b494e06ce11d0da (patch) | |
tree | 93dc3108c947d476dc5a847d4633d8802710ed77 /plugins/http-files/src | |
parent | e3e6a426f486ddef3c3ed299e30d8de3507b79a2 (diff) | |
download | dino-b29d52fddae832d275e66dbd1b494e06ce11d0da.tar.gz dino-b29d52fddae832d275e66dbd1b494e06ce11d0da.zip |
SRV records for XMPP over TLS
Diffstat (limited to 'plugins/http-files/src')
-rw-r--r-- | plugins/http-files/src/contact_titlebar_entry.vala | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/http-files/src/contact_titlebar_entry.vala b/plugins/http-files/src/contact_titlebar_entry.vala index a87c7ddf..74966c0e 100644 --- a/plugins/http-files/src/contact_titlebar_entry.vala +++ b/plugins/http-files/src/contact_titlebar_entry.vala @@ -54,9 +54,12 @@ public class ConversationTitlebarWidget : Button, Plugins.ConversationTitlebarWi } public void on_upload_available(Account account) { - if (conversation.account.equals(account)) { - visible = true; - } + Idle.add(() => { + if (conversation != null && conversation.account.equals(account)) { + visible = true; + } + return false; + }); } public new void set_conversation(Conversation conversation) { |