Skip to content

Commit 13c3537

Browse files
committed
bugfix: messages: Change condition for showing difference in star status
Changing the condition for difference in messages from comparing to outright assigning the status of the current message to prevent merging of messages starred in a row
1 parent d50bd4c commit 13c3537

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

zulipterminal/ui_tools/messages.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -661,9 +661,7 @@ def main_view(self) -> List[Any]:
661661
message["last"]["time"] is not None
662662
and message["this"]["time"] != message["last"]["time"]
663663
),
664-
"star_status": (
665-
message["this"]["is_starred"] != message["last"]["is_starred"]
666-
),
664+
"star_status": (message["this"]["is_starred"]),
667665
}
668666
any_differences = any(different.values())
669667

0 commit comments

Comments
 (0)