diff options
author | Miquel Lionel <lionel@les-miquelots.net> | 2023-09-17 13:14:43 +0200 |
---|---|---|
committer | Miquel Lionel <lionel@les-miquelots.net> | 2024-08-25 15:31:09 +0200 |
commit | 62cdea3a5e701c04f3a7fd9d6b5f48e28fef1f72 (patch) | |
tree | d6876d251ae148dbf80080823f51c142c0f9f8ad /main/src/ui/conversation_selector | |
parent | 8be4f02723fc131d9275c1b70831f53ff4630a1a (diff) | |
download | dino-62cdea3a5e701c04f3a7fd9d6b5f48e28fef1f72.tar.gz dino-62cdea3a5e701c04f3a7fd9d6b5f48e28fef1f72.zip |
Simplify talking to yourself (notes) on the UI
- clicking on the menu will multiple accounts will bring up a modified
"start chat" windows
Diffstat (limited to 'main/src/ui/conversation_selector')
-rw-r--r-- | main/src/ui/conversation_selector/conversation_selector_row.vala | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/src/ui/conversation_selector/conversation_selector_row.vala b/main/src/ui/conversation_selector/conversation_selector_row.vala index c180b6b3..40b35429 100644 --- a/main/src/ui/conversation_selector/conversation_selector_row.vala +++ b/main/src/ui/conversation_selector/conversation_selector_row.vala @@ -128,7 +128,12 @@ public class ConversationSelectorRow : ListBoxRow { } protected void update_name_label() { - name_label.label = Util.get_conversation_display_name(stream_interactor, conversation); + if (conversation.counterpart.bare_jid.to_string() == conversation.account.bare_jid.to_string()){ //talking to yourself + name_label.set_markup("<u>// Notes to self (" + conversation.account.bare_jid.to_string() + ")</u>"); + } + else { + name_label.label = Util.get_conversation_display_name(stream_interactor, conversation); + } } private void update_pinned_icon() { |