summaryrefslogtreecommitdiff
path: root/components/channels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'components/channels.cpp')
-rw-r--r--components/channels.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/channels.cpp b/components/channels.cpp
index 117e5a6..b36eb4e 100644
--- a/components/channels.cpp
+++ b/components/channels.cpp
@@ -301,6 +301,10 @@ void ChannelList::OnThreadDelete(const ThreadDeleteData &data) {
// todo probably make the row stick around if its selected until the selection changes
void ChannelList::OnThreadUpdate(const ThreadUpdateData &data) {
+ auto iter = GetIteratorForChannelFromID(data.Thread.ID);
+ if (iter)
+ (*iter)[m_columns.m_name] = "- " + Glib::Markup::escape_text(*data.Thread.Name);
+
if (data.Thread.ThreadMetadata->IsArchived)
DeleteThreadRow(data.Thread.ID);
}