We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78fd5df commit 9d75f50Copy full SHA for 9d75f50
zulipterminal/ui_tools/messages.py
@@ -771,6 +771,11 @@ def main_view(self) -> List[Any]:
771
else "No poll question provided. Please add one via the web app."
772
)
773
774
+ if not self.poll_question:
775
+ # If no poll question is provided, set a message to display
776
+ # in Poll Results popup.
777
+ self.poll_question = "No poll question provided."
778
+
779
if self.poll_options:
780
max_votes_len = max(
781
len(str(len(option["votes"])))
0 commit comments