From: Simon Tatham Date: Wed, 6 Dec 2023 12:28:43 +0000 (+0000) Subject: Fix a crash on receiving a mention. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=35ba8f325faf3e3;p=mastodonochrome.git Fix a crash on receiving a mention. self.mentions_feed is a function; mentions_feed is the value it returned. --- diff --git a/cursesclient.py b/cursesclient.py index e057d42..20663be 100644 --- a/cursesclient.py +++ b/cursesclient.py @@ -153,7 +153,7 @@ class CursesUI(client.Client): # topmost activity is uninterruptible, e.g. an editor if not any(a is self.mentions_feed for a in self.activity_stack): - self.activity_stack.append(self.mentions_feed) + self.activity_stack.append(mentions_feed) self.add_streaming_selfpipe("streaming/user", extend_both)