chiark
/
gitweb
/
~ian
/
mastodonochrome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d964711
)
Fix a crash on receiving a mention.
author
Simon Tatham
<anakin@pobox.com>
Wed, 6 Dec 2023 12:28:43 +0000
(12:28 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Wed, 6 Dec 2023 12:28:43 +0000
(12:28 +0000)
self.mentions_feed is a function; mentions_feed is the value it returned.
cursesclient.py
patch
|
blob
|
history
diff --git
a/cursesclient.py
b/cursesclient.py
index e057d4254ee92834e68e6ef963be374ce2413162..20663be22d0e2570e853c40492a900417c680be7 100644
(file)
--- 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)