diff options
author | fiaxh <git@mx.ax.lt> | 2017-09-05 23:53:18 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-09-06 00:15:18 +0200 |
commit | 8944029128e3d0f9e32b61e00e880d92fceabb31 (patch) | |
tree | 8cf872969d3349c61278b19273e76c65036c429d /main/src/ui/conversation_summary | |
parent | 312372350e24d1ebd8afbb0029fac04f2b64eb83 (diff) | |
download | dino-8944029128e3d0f9e32b61e00e880d92fceabb31.tar.gz dino-8944029128e3d0f9e32b61e00e880d92fceabb31.zip |
Move encryption menu into ChatInput, PGP support for MUCs
Diffstat (limited to 'main/src/ui/conversation_summary')
-rw-r--r-- | main/src/ui/conversation_summary/conversation_item_skeleton.vala | 2 | ||||
-rw-r--r-- | main/src/ui/conversation_summary/conversation_view.vala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/conversation_summary/conversation_item_skeleton.vala b/main/src/ui/conversation_summary/conversation_item_skeleton.vala index 1eb76840..03114227 100644 --- a/main/src/ui/conversation_summary/conversation_item_skeleton.vala +++ b/main/src/ui/conversation_summary/conversation_item_skeleton.vala @@ -39,7 +39,7 @@ public class ConversationItemSkeleton : Grid { } else { set_title_widget(widget); } - item.notify["mark"].connect_after(update_received); + item.notify["mark"].connect_after(() => { Idle.add(() => { update_received(); return false; }); }); update_received(); } diff --git a/main/src/ui/conversation_summary/conversation_view.vala b/main/src/ui/conversation_summary/conversation_view.vala index 3f5a85b6..dcd24652 100644 --- a/main/src/ui/conversation_summary/conversation_view.vala +++ b/main/src/ui/conversation_summary/conversation_view.vala @@ -98,7 +98,7 @@ public class ConversationView : Box, Plugins.ConversationItemCollection { item.display_time.difference(lower_start_item.display_time) < TimeSpan.MINUTE && lower_start_item.jid.equals(item.jid) && lower_start_item.encryption == item.encryption && - item.mark != Message.Marked.WONTSEND) { + (item.mark == Message.Marked.WONTSEND) == (lower_start_item.mark == Message.Marked.WONTSEND)) { lower_skeleton.add_meta_item(item); force_alloc_width(lower_skeleton, main.get_allocated_width()); item_item_skeletons[item] = lower_skeleton; |